Mutation
mutation ReplyToThread($input: ReplyToThreadInput!) {
replyToThread(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadId": "id",
"textContent": "string"
}
}Response
{
"data": {
"replyToThread": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
replyToThread
Send a reply to the customer on a thread using the most appropriate channel automatically. Supports threads where the last inbound message is an email, a Slack message, or a form submission. If the thread has no messages yet, an email is sent to the customer. Requires the thread:reply (or channel-specific send) permission.
MUTATION
replyToThread(input: ReplyToThreadInput!): ReplyToThreadOutput!Arguments
input
required
Returns
error
Mutation
mutation ReplyToThread($input: ReplyToThreadInput!) {
replyToThread(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadId": "id",
"textContent": "string"
}
}Response
{
"data": {
"replyToThread": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

