Messages
Send a message
Sends a message to one or more recipients using a template. Supports multi-channel broadcast — when multiple channels are specified (e.g. ["sms", "whatsapp"]), a separate message is created for each (recipient, channel) pair. Returns immediately with per-recipient message IDs for async tracking via webhooks or the GET /messages/{id} endpoint.
post/v3/messages
Headers
Idempotency-Keystring
Unique key to ensure idempotent request processing. Must be 1-255 alphanumeric characters, hyphens, or underscores. Responses are cached for 24 hours per key per customer.
x-profile-idstring uuid
Profile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.
Request body
Example request
{
"to": [
"+14155551234",
"+14155555678"
],
"channel": [
"sms",
"whatsapp"
],
"template": {
"id": "7ba7b820-9dad-11d1-80b4-00c04fd430c8",
"name": "order_confirmation",
"parameters": {
"name": "John Doe",
"order_id": "12345"
}
},
"sandbox": false
}Response
Message accepted for processing