Skip to main content

Arguments

Input for creating a live chat message.

Returns

CreateInkLiveChatMessage

The possible errors that can be raised are:

  • KT-CT-7616: Not yet implemented.
  • KT-CT-1111: Unauthorized.
  • KT-CT-4123: Unauthorized.
  • KT-CT-7642: No account user was found for the given fromHandle.
  • KT-CT-7641: Live Chat message with this message ID has already been processed.
  • KT-CT-7645: The user is not authorized to access this Live Chat.
  • KT-CT-7622: Attachment bucket is invalid.
  • KT-CT-7623: Attachment path is invalid.
  • KT-CT-7621: Attachment not found.
  • KT-CT-1113: Disabled GraphQL field requested.
  • KT-CT-1112: 'Authorization' header not provided.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can manage ink live chat

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

mutation CreateInkLiveChatMessage($input: CreateInkLiveChatMessageInput) { createInkLiveChatMessage(input: $input) { liveChatConversation { ...InkLiveChatConversationFragment } messageRelayId } }

Variables

Response

{ "data": { "createInkLiveChatMessage": { "liveChatConversation": InkLiveChatConversation, "messageRelayId": "82382996" } } }