inkConversation
Get the Ink conversation for a given account.
Arguments
Returns
InkConversation!Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-4177: Unauthorized.
- KT-CT-7610: No Ink conversation for account.
- KT-CT-7612: The Ink conversation was not found.
- KT-CT-7617: Must supply account number or relay id to get a conversation.
- KT-CT-7638: Invalid conversation ID.
- KT-CT-7658: Unauthorized to access this conversation.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can access customer queriesCan query ink conversations
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query InkConversation(
$accountNumber: String,
$conversationRelayId: String
) {
inkConversation(
accountNumber: $accountNumber,
conversationRelayId: $conversationRelayId
) {
accountNumber
accountUsers {
...AccountUserTypeFragment
}
buckets {
...InkBucketFragment
}
contactChannelIdentities {
...InkContactChannelIdentitiesFragment
}
events {
...InkConversationEventsConnectionFragment
}
id
lastMessageAt
status
tags {
...InkTagFragment
}
}
}
Variables
{
"accountNumber": "A-37D27447",
"conversationRelayId": "62138060"
}
Response
{
"data": {
"inkConversation": {
"accountNumber": "A-0ADB0E42",
"accountUsers": [AccountUserType],
"buckets": [InkBucket],
"contactChannelIdentities": InkContactChannelIdentities,
"events": InkConversationEventsConnection,
"id": "71223186",
"lastMessageAt": "2015-06-20T02:20:34.772577+00:00",
"status": "OPEN",
"tags": [InkTag]
}
}
}