Customer.io · Schema
broadcastActionObject
Behavioral DataBroadcastCampaignsCDPCustomer DataCustomer Data PlatformData IngestionEmailEvent TrackingMarketing AutomationMessagingPush NotificationsSegmentsSMSTransactional EmailA2A
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-broadcast-action-object-schema.json",
"title": "broadcastActionObject",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/customer-io-broadcasts-api-openapi.yml#/components/schemas/broadcastActionObject",
"x-scalar-ignore": true,
"oneOf": [
{
"title": "Email / message",
"allOf": [
{
"$ref": "#/$defs/emailActionObject"
},
{
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/action_id"
},
"broadcast_id": {
"$ref": "#/$defs/broadcast_id",
"readOnly": true
},
"multi_language_branch_action_id": {
"$ref": "#/$defs/multi_language_branch_action_id"
},
"headers": {
"$ref": "#/$defs/headers"
}
}
}
]
},
{
"title": "SMS / MMS",
"allOf": [
{
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/action_id"
},
"broadcast_id": {
"$ref": "#/$defs/broadcast_id"
},
"multi_language_branch_action_id": {
"$ref": "#/$defs/multi_language_branch_action_id"
}
}
},
{
"$ref": "#/$defs/smsActionObject"
}
]
},
{
"title": "WhatsApp",
"allOf": [
{
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/action_id"
},
"broadcast_id": {
"$ref": "#/$defs/broadcast_id"
},
"multi_language_branch_action_id": {
"$ref": "#/$defs/multi_language_branch_action_id"
}
}
},
{
"$ref": "#/$defs/whatsAppActionObject"
}
]
},
{
"title": "Webhook",
"allOf": [
{
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/action_id"
},
"broadcast_id": {
"$ref": "#/$defs/broadcast_id"
},
"multi_language_branch_action_id": {
"$ref": "#/$defs/multi_language_branch_action_id"
}
}
},
{
"$ref": "#/$defs/webhookActionObject"
}
]
}
],
"$defs": {
"action_id": {
"x-scalar-ignore": true,
"description": "The identifier for an action.",
"type": "integer",
"readOnly": true
},
"bcc": {
"x-scalar-ignore": true,
"readOnly": true,
"description": "The blind-copy address(es) for this action.",
"type": "string"
},
"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."
},
"broadcast_id": {
"x-scalar-ignore": true,
"type": "integer",
"description": "The identifier for a broadcast."
},
"cc": {
"x-scalar-ignore": true,
"readOnly": true,
"description": "The carbon-copy address(es) for this action.",
"type": "string"
},
"created": {
"x-scalar-ignore": true,
"type": "integer",
"format": "unix timestamp",
"description": "The date time when the referenced ID was created.",
"readOnly": true
},
"deduplicate_id": {
"x-scalar-ignore": true,
"type": "string",
"readOnly": true,
"description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated."
},
"emailActionObject": {
"x-scalar-ignore": true,
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/action_id"
},
"broadcast_id": {
"$ref": "#/$defs/broadcast_id",
"readOnly": true
},
"deduplicate_id": {
"$ref": "#/$defs/deduplicate_id"
},
"name": {
"type": "string",
"description": "The name of the action, if it exists.",
"readOnly": true
},
"layout": {
"type": "string",
"description": "The layout used for the action, if it exists.",
"readOnly": true
},
"created": {
"$ref": "#/$defs/created"
},
"updated": {
"$ref": "#/$defs/updated"
},
"body": {
"type": "string",
"description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
},
"type": {
"type": "string",
"description": "The type of action.",
"enum": [
"email",
"in_app",
"push",
"twilio",
"slack",
"whatsapp"
],
"readOnly": true
},
"sending_state": {
"$ref": "#/$defs/sending_state"
},
"language": {
"$ref": "#/$defs/language"
},
"from": {
"$ref": "#/$defs/from"
},
"from_id": {
"$ref": "#/$defs/from_id"
},
"reply_to": {
"$ref": "#/$defs/reply_to"
},
"reply_to_id": {
"$ref": "#/$defs/reply_to_id"
},
"preprocessor": {
"$ref": "#/$defs/preprocessor"
},
"recipient": {
"$ref": "#/$defs/recipient"
},
"subject": {
"$ref": "#/$defs/subject"
},
"cc": {
"$ref": "#/$defs/cc"
},
"bcc": {
"$ref": "#/$defs/bcc"
},
"fake_bcc": {
"$ref": "#/$defs/fake_bcc"
},
"preheader_text": {
"$ref": "#/$defs/preheader_text"
},
"body_amp": {
"$ref": "#/$defs/body_amp"
}
}
},
"fake_bcc": {
"x-scalar-ignore": true,
"readOnly": true,
"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"
},
"from": {
"x-scalar-ignore": true,
"type": "string",
"description": "The address that the message is from, relevant if the action `type` is `email`.",
"readOnly": true
},
"from_id": {
"x-scalar-ignore": true,
"type": "integer",
"description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs."
},
"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"
},
"language": {
"x-scalar-ignore": true,
"type": "string",
"description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
"readOnly": true
},
"multi_language_branch_action_id": {
"x-scalar-ignore": true,
"type": "integer",
"description": "Returned when the action is a language variant of a multi-language message. This id is the same for each variant of a message, so you can use this to retrieve metrics for a message and all its variants.",
"readOnly": true
},
"preheader_text": {
"x-scalar-ignore": true,
"type": "string",
"description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
},
"preprocessor": {
"x-scalar-ignore": true,
"type": "string",
"description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
"enum": [
"premailer"
],
"readOnly": true
},
"recipient": {
"x-scalar-ignore": true,
"description": "The recipient address for an action.",
"type": "string"
},
"reply_to": {
"x-scalar-ignore": true,
"type": "string",
"description": "The address that receives replies for the message, if applicable.",
"readOnly": true
},
"reply_to_id": {
"x-scalar-ignore": true,
"type": [
"integer",
"null"
],
"description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs."
},
"sending_state": {
"x-scalar-ignore": true,
"type": "string",
"enum": [
"automatic",
"draft",
"off"
],
"description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
},
"smsActionObject": {
"x-scalar-ignore": true,
"type": "object",
"properties": {
"deduplicate_id": {
"$ref": "#/$defs/deduplicate_id"
},
"name": {
"type": "string",
"description": "The name of the action.",
"readOnly": true
},
"layout": {
"type": "string",
"description": "The layout used for the action, if it exists.",
"readOnly": true
},
"created": {
"$ref": "#/$defs/created"
},
"updated": {
"$ref": "#/$defs/updated"
},
"body": {
"type": "string",
"description": "The body of your SMS."
},
"language": {
"$ref": "#/$defs/language"
},
"type": {
"type": "string",
"description": "For SMS/MMS messages, the `type` is always `twilio`.",
"enum": [
"twilio"
],
"readOnly": true
},
"image_url": {
"type": "string",
"description": "The URL of the image in your SMS (MMS) message."
},
"sending_state": {
"$ref": "#/$defs/sending_state"
},
"recipient": {
"type": "string",
"description": "The recipient, usually an attribute you reference with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time."
}
}
},
"subject": {
"x-scalar-ignore": true,
"type": "string",
"description": "The subject line for an `email` action."
},
"updated": {
"x-scalar-ignore": true,
"type": "integer",
"format": "unix timestamp",
"description": "The date time when the referenced ID was last updated.",
"readOnly": true
},
"webhookActionObject": {
"x-scalar-ignore": true,
"type": "object",
"properties": {
"deduplicate_id": {
"$ref": "#/$defs/deduplicate_id"
},
"name": {
"type": "string",
"description": "The name of the action, if it exists.",
"readOnly": true
},
"layout": {
"type": "string",
"description": "The layout used for the action, if it exists.",
"readOnly": true
},
"created": {
"$ref": "#/$defs/created"
},
"updated": {
"$ref": "#/$defs/updated"
},
"body": {
"type": "string",
"description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
},
"type": {
"type": "string",
"description": "The type of action.",
"enum": [
"webhook"
],
"readOnly": true
},
"url": {
"type": "string",
"description": "The URL to send a webhook to, applies to `webhook` type actions."
},
"headers": {
"$ref": "#/$defs/headers"
},
"method": {
"description": "The HTTP method for your webhook.",
"type": "string",
"enum": [
"get",
"post",
"put",
"delete",
"patch"
]
},
"sending_state": {
"$ref": "#/$defs/sending_state"
}
}
},
"whatsAppActionObject": {
"x-scalar-ignore": true,
"description": "The action object for WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio). Messages sent through Twilio still use the `twilio` type and are treated similarly to SMS messages.",
"type": "object",
"properties": {
"deduplicate_id": {
"$ref": "#/$defs/deduplicate_id"
},
"name": {
"type": "string",
"description": "The name of the action.",
"readOnly": true
},
"created": {
"$ref": "#/$defs/created"
},
"updated": {
"$ref": "#/$defs/updated"
},
"body": {
"type": "string",
"description": "A JSON string containing WhatsApp template metadata from Meta and template parameters with Liquid variables. Use `GET /v1/environments/{environment_id}/whatsapp/templates` to list templates."
},
"body_json": {
"type": "string",
"description": "For visual editor content (if applicable)."
},
"language": {
"$ref": "#/$defs/language"
},
"type": {
"type": "string",
"description": "For WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio), the `type` is always `whatsapp`.",
"enum": [
"whatsapp"
],
"readOnly": true
},
"sending_state": {
"$ref": "#/$defs/sending_state"
},
"recipient": {
"type": "string",
"description": "The recipient's phone number in E.164 format, usually referenced with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time."
},
"sender_identity_id": {
"type": "integer",
"description": "The ID of the WhatsApp Business phone number to send from. This corresponds to\na phone number registered in your WhatsApp Business Account and synced via\n`GET /v1/environments/{environment_id}/whatsapp/sync`.\n"
},
"send_to_unsubscribed": {
"type": "boolean",
"description": "Whether to send this message to unsubscribed customers."
},
"tracked": {
"type": "boolean",
"description": "Whether links in template parameters should be tracked.",
"default": false
}
}
}
}
}
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-broadcast-action-object"
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.