Skip to main content

Arguments

accountNumber : String

The account number.

conversationRelayId : String

The conversation's relay id.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can query ink conversations

Query Complexity

1

Examples

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

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] } } }