Skip to main content
POST
Send a Transactional Broadcast

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key

Path Parameters

org_id
string
required

Org ID

broadcast_id
string
required

Broadcast ID

Body

Schema for firing one trigger on a transactional broadcast. Recipient identifier fields are at the root. Fans out across the broadcast templates to a single recipient.

contact_channel_id
string

Tier 1 (most specific): exact ContactChannel id. Skips contact resolution and channel-availability filter since the caller has chosen the channel.

contact_id
string

Tier 2: known Contact id. Channel is inferred per template at send time.

phone
string

Raw phone. When no contact is resolved by contact_channel_id/contact_id, it find-or-creates a contact by phone. When a contact is resolved, it overrides the phone used for this send only (the contact and its channels are not modified).

Maximum string length: 256
email
string

Raw email. When no contact is resolved by contact_channel_id/contact_id, it find-or-creates a contact by email. When a contact is resolved, it overrides the email used for this send only (the contact and its channels are not modified).

Maximum string length: 256
name
string

Optional display name override for this send only. Takes precedence over the resolved channel and contact name. Does not resolve or create a contact on its own and does not modify the contact.

Maximum string length: 256
variables
object

Values for the broadcast fields. Variables override the contact's stored field values. Any broadcast field you omit falls back to its configured default value.

template_ids
string[]

Optional subset of broadcast templates to fire. Omit to fire all templates on the broadcast.

background
boolean

When false (default), the call awaits the send and returns external_message_id per template. When true, the call enqueues and returns immediately.

Response

200 - application/json

Result of triggering a transactional broadcast. One BroadcastRecipient row per template fired.

recipients
object[]
required