Raw schema
{
"type": "object",
"properties": {
"body": {
"type": "string",
"description": "The message body (HTML) โ required."
},
"subject": {
"description": "The subject line.",
"type": "string"
},
"to_fields": {
"description": "Recipients ({address, name?}).",
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Email address."
},
"name": {
"description": "Display name.",
"type": "string"
}
},
"required": [
"address"
],
"description": "An email participant ({address, name?})."
}
},
"cc_fields": {
"description": "Cc recipients.",
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Email address."
},
"name": {
"description": "Display name.",
"type": "string"
}
},
"required": [
"address"
],
"description": "An email participant ({address, name?})."
}
},
"bcc_fields": {
"description": "Bcc recipients.",
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Email address."
},
"name": {
"description": "Display name.",
"type": "string"
}
},
"required": [
"address"
],
"description": "An email participant ({address, name?})."
}
},
"from_field": {
"description": "The sender ({address, name?}).",
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Email address."
},
"name": {
"description": "Display name.",
"type": "string"
}
},
"required": [
"address"
]
},
"conversation": {
"description": "Attach the draft to an existing conversation id.",
"type": "string"
},
"references": {
"description": "Message-ID references (for threading).",
"type": "array",
"items": {
"type": "string"
}
},
"send": {
"description": "If true, SEND the email immediately instead of saving a draft.",
"type": "boolean"
},
"send_at": {
"description": "Unix timestamp to schedule the send.",
"type": "number"
},
"organization": {
"description": "Organization id to send from.",
"type": "string"
},
"add_assignees": {
"description": "User ids to assign to the conversation.",
"type": "array",
"items": {
"type": "string"
}
},
"add_shared_labels": {
"description": "Shared label ids to apply.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"body"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}