Using TypeScript? Check out our GraphQL SDK for a fully typed client.
replyToThread mutation, as long as the thread’s communication channel is either API, CHAT, EMAIL, SLACK or ‘MS_TEAMS’. This information is available in the thread as the channel field.
If it is not possible to reply to a thread, you will get the mutation error code cannot_reply_to_thread and a message indicating why.
This operation requires the following permission:
thread:reply
Mutation
Variables
Impersonation
Impersonation is exclusively available in our
Grow plan. You can see all available plans in our
pricing page.impersonation parameter in the replyToThread mutation, specifying the identifier of the customer you want to impersonate. You can pick any of the available customer identifiers (emailAddress, customerId or externalId)
Impersonation is only possible for
API, CHAT, EMAIL and SLACK threads (based on the thread’s channel field).SLACK: the message will appear in Slack as a new message from the impersonated customer, including their name and any other customer detailsAPIandEMAIL: the message will be sent as an email with the impersonated customer’s email address as the “From” address, making it appear as if they sent the email directlyCHAT: the message will appear in the thread as coming directly from the impersonated customer, with their name and avatar displayed
EMAIL or API thread, you can optionally add ‘Cc’ and ‘Bcc’ recipients by using the channelSpecificOptions parameter:
thread:replycustomer:impersonate
Mutation
Variables

