Mutation
mutation SendBulkEmail($input: SendBulkEmailInput!) {
sendBulkEmail(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
skippedThreads {
threadId
reason
}
}
}Variables
{
"input": {
"threadIds": [
"id"
],
"textContent": "string"
}
}Response
{
"data": {
"sendBulkEmail": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
},
"skippedThreads": [
{
"threadId": "id",
"reason": "THREAD_LOCKED"
}
]
}
}
}Mutations
sendBulkEmail
Sends the same email body to multiple threads at once (up to 100 thread IDs per call). Useful for broadcasting updates to a set of customers, for example notifying affected users of an incident.
MUTATION
sendBulkEmail(input: SendBulkEmailInput!): SendBulkEmailOutput!Arguments
input
required
Returns
error
skippedThreads
Mutation
mutation SendBulkEmail($input: SendBulkEmailInput!) {
sendBulkEmail(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
skippedThreads {
threadId
reason
}
}
}Variables
{
"input": {
"threadIds": [
"id"
],
"textContent": "string"
}
}Response
{
"data": {
"sendBulkEmail": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
},
"skippedThreads": [
{
"threadId": "id",
"reason": "THREAD_LOCKED"
}
]
}
}
}Was this page helpful?

