createInkLiveChatMessage
Arguments
Input for creating a live chat message.
Returns
CreateInkLiveChatMessageThe 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.
Possible Errors
- KT-CT-1111: Unauthorized.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-4123: Unauthorized.
- KT-CT-7616: Not yet implemented.
- KT-CT-7621: Attachment not found.
- KT-CT-7622: Attachment bucket is invalid.
- KT-CT-7623: Attachment path is invalid.
- KT-CT-7641: Live Chat message with this message ID has already been processed.
- KT-CT-7642: No account user was found for the given fromHandle.
- KT-CT-7645: The user is not authorized to access this Live Chat.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can manage ink live chatQuery 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.
mutation CreateInkLiveChatMessage($input: CreateInkLiveChatMessageInput) {
createInkLiveChatMessage(input: $input) {
liveChatConversation {
...InkLiveChatConversationFragment
}
messageRelayId
}
}
Variables
{
"input": CreateInkLiveChatMessageInput
}
Response
{
"data": {
"createInkLiveChatMessage": {
"liveChatConversation": InkLiveChatConversation,
"messageRelayId": "82382996"
}
}
}