Customer.io · Schema
sendemail
Behavioral DataBroadcastCampaignsCDPCustomer DataCustomer Data PlatformData IngestionEmailEvent TrackingMarketing AutomationMessagingPush NotificationsSegmentsSMSTransactional EmailA2A
Properties
| Name | Type | Description |
|---|---|---|
| transactional_message_id | object | The transactional message template you want to use. You can call the template by its numerical ID or by the *Trigger Name* that you assigned to the template in the UI (case insensitive). |
| body | string | The HTML body of your message. If you provide a `transactional_message_id`, this overrides the template's body. It's also the fallback when you send AMP email (`body_amp`) to a client that doesn't sup |
| body_amp | object | |
| body_plain | string | The plaintext body of your message. If you provide `transactional_message_id`, this overrides the template's plaintext body. |
| subject | string | The subject line for your message. If you provide `transactional_message_id`, this overrides the template's subject. |
| from | string | The address your email is from. It must be a [verified sender](/journeys/channels/email/deliverability/authentication/). Quote any display name, like `\"Person\" |
| language | string | Overrides language preferences for the person you want to send your transactional message to. Use one of our [supported two- or four-letter language codes](/journeys/channels/localization/getting-star |
| auto_create | boolean | If `true` and your `transactional_message_id` doesn't match a record, Customer.io creates an empty record using that value as the *Trigger Name*. The ID must be a string. If the name already belongs t |
| identifiers | object | Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`. |
| message_data | object | An object containing the key-value pairs referenced using liquid in your message. |
| send_at | integer | A unix timestamp (seconds since epoch) determining when the message will be sent. The timestamp can be up to 90 days in the future. If this value is in the past, your message is sent immediately. |
| disable_message_retention | object | |
| send_to_unsubscribed | object | |
| queue_draft | object | |
| to | string | The recipients you want to send to, separated by commas. You can include up to 15 total recipients across `to`, `cc`, and `bcc`, with optional display names in quotes. |
| cc | string | Carbon copy message recipients, separated by commas. Unlike BCC recipients, CC recipients are visible to everyone who receives the message. Their opens, clicks, and bounces count toward your message m |
| bcc | string | Blind copy message recipients. Supports multiple addresses separated by commas. Your request can contain up to 15 total recipients between the `to`, `cc`, and `bcc` keys. |
| fake_bcc | boolean | If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es). |
| reply_to | string | The address that recipients can reply to, if different from the `from` address. |
| preheader | object | |
| attachments | object | |
| headers | object | |
| disable_css_preprocessing | boolean | Set to `true` to disable CSS preprocessing. This setting overrides the CSS preprocessing setting on the `transactional_message_id` as set in the user interface. Transactional emails have CSS preproces |
| tracked | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-sendemail-schema.json",
"title": "sendemail",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/customer-io-send-messages-api-openapi.yml#/components/schemas/sendemail",
"x-scalar-ignore": true,
"allOf": [
{
"type": "object",
"required": [
"to"
],
"properties": {
"transactional_message_id": {
"description": "The transactional message template you want to use. You can call the template by its numerical ID or by the *Trigger Name* that you assigned to the template in the UI (case insensitive).",
"oneOf": [
{
"title": "ID (integer)",
"type": "integer",
"description": "The ID of the transactional message you want to send."
},
{
"title": "Trigger Name (string)",
"type": "string",
"description": "The name of trigger for the transactional message you want to send. You set the trigger name in the **Configure Settings** step in the UI when setting up your message. This is case insensitive."
}
]
},
"body": {
"type": "string",
"description": "The HTML body of your message. If you provide a `transactional_message_id`, this overrides the template's body. It's also the fallback when you send AMP email (`body_amp`) to a client that doesn't support AMP."
},
"body_amp": {
"$ref": "#/$defs/body_amp"
},
"body_plain": {
"type": "string",
"description": "The plaintext body of your message. If you provide `transactional_message_id`, this overrides the template's plaintext body."
},
"subject": {
"type": "string",
"description": "The subject line for your message. If you provide `transactional_message_id`, this overrides the template's subject."
},
"from": {
"type": "string",
"description": "The address your email is from. It must be a [verified sender](/journeys/channels/email/deliverability/authentication/). Quote any display name, like `\\\"Person\\\" <person@example.com>`. This overrides the template's sender; omit it to use the template or your workspace default."
},
"language": {
"type": "string",
"description": "Overrides language preferences for the person you want to send your transactional message to. Use one of our [supported two- or four-letter language codes](/journeys/channels/localization/getting-started/#supported-languages)."
},
"auto_create": {
"type": "boolean",
"default": false,
"description": "If `true` and your `transactional_message_id` doesn't match a record, Customer.io creates an empty record using that value as the *Trigger Name*. The ID must be a string. If the name already belongs to another channel, the request fails with `400`, and numeric IDs ignore this setting. See [details](/journeys/transactional-email/#auto-create-transactional-message-records)."
}
}
},
{
"$ref": "#/$defs/transactionalSharedObject"
},
{
"$ref": "#/$defs/transactionalSharedEmailObject"
}
],
"$defs": {
"attachments": {
"x-scalar-ignore": true,
"type": "object",
"description": "A dictionary of attachments where the filename is the key and the value is the base64-encoded contents. The filename must include the extension (i.e. `name.csv`). The total size of all attachments must be less than 2 MB.",
"properties": {
"<file-name>": {
"type": "string",
"format": "base64"
}
}
},
"body_amp": {
"x-scalar-ignore": true,
"type": "string",
"description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
},
"disable_message_retention": {
"x-scalar-ignore": true,
"type": "boolean",
"default": false,
"description": "If true, the message body is not retained in delivery history. Setting this value overrides the value set in the settings of your `transactional_message_id`."
},
"headers": {
"x-scalar-ignore": true,
"description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
"type": "string",
"format": "json"
},
"preheader": {
"x-scalar-ignore": true,
"type": "string",
"description": "Also known as \"preview text\", this is the block block of text that users see next to, or underneath, the subject line in their inbox."
},
"queue_draft": {
"x-scalar-ignore": true,
"type": "boolean",
"description": "If true, your transactional message is held as a draft in Customer.io and not sent directly to your audience. You must go to the Deliveries and Drafts page to send your message.",
"default": false
},
"send_to_unsubscribed": {
"x-scalar-ignore": true,
"type": "boolean",
"default": true,
"description": "If false, your message is not sent to unsubscribed recipients. Setting this value overrides the value set in the settings of your `transactional_message_id`."
},
"tracked": {
"x-scalar-ignore": true,
"type": "boolean",
"description": "If true, Customer.io tracks opens and link clicks in your message.",
"default": true
},
"transactionalSharedEmailObject": {
"x-scalar-ignore": true,
"type": "object",
"properties": {
"to": {
"type": "string",
"description": "The recipients you want to send to, separated by commas. You can include up to 15 total recipients across `to`, `cc`, and `bcc`, with optional display names in quotes."
},
"cc": {
"type": "string",
"description": "Carbon copy message recipients, separated by commas. Unlike BCC recipients, CC recipients are visible to everyone who receives the message. Their opens, clicks, and bounces count toward your message metrics. CC recipients count toward the limit of 15 total recipients across the `to`, `cc`, and `bcc` keys."
},
"bcc": {
"type": "string",
"description": "Blind copy message recipients. Supports multiple addresses separated by commas. Your request can contain up to 15 total recipients between the `to`, `cc`, and `bcc` keys."
},
"fake_bcc": {
"type": "boolean",
"description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
},
"reply_to": {
"type": "string",
"description": "The address that recipients can reply to, if different from the `from` address."
},
"preheader": {
"$ref": "#/$defs/preheader"
},
"attachments": {
"$ref": "#/$defs/attachments"
},
"headers": {
"$ref": "#/$defs/headers"
},
"disable_css_preprocessing": {
"type": "boolean",
"description": "Set to `true` to disable CSS preprocessing. This setting overrides the CSS preprocessing setting on the `transactional_message_id` as set in the user interface. Transactional emails have CSS preprocessing enabled by default.",
"default": false
},
"tracked": {
"$ref": "#/$defs/tracked"
}
}
},
"transactionalSharedObject": {
"x-scalar-ignore": true,
"type": "object",
"properties": {
"identifiers": {
"description": "Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`.",
"oneOf": [
{
"title": "id",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The identifier for the person represented by the transactional message. **NOTE**: If your workspace identifies people by email, use the `email` identifier instead.\n"
}
}
},
{
"title": "email",
"type": "object",
"required": [
"email"
],
"properties": {
"email": {
"type": "string",
"description": "The identifier for the person represented by the transactional message. Use this option if your workspace identifies people by email rather than by `id`."
}
}
},
{
"title": "cio_id",
"type": "object",
"required": [
"cio_id"
],
"properties": {
"cio_id": {
"type": "string",
"description": "A unique, immutable identifier for a person, set by Customer.io when you add a person."
}
}
}
]
},
"message_data": {
"type": "object",
"description": "An object containing the key-value pairs referenced using liquid in your message.",
"additionalProperties": {
"x-additionalPropertiesName": "Liquid Data",
"description": "Insert key-values that you want to reference in your message here."
}
},
"send_at": {
"type": "integer",
"description": "A unix timestamp (seconds since epoch) determining when the message will be sent. The timestamp can be up to 90 days in the future. If this value is in the past, your message is sent immediately."
},
"disable_message_retention": {
"$ref": "#/$defs/disable_message_retention"
},
"send_to_unsubscribed": {
"$ref": "#/$defs/send_to_unsubscribed"
},
"queue_draft": {
"$ref": "#/$defs/queue_draft"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/customer-io-sendemail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.