Skip to main content
POST
Create a broadcast

Authorizations

Authorization
string
header
required

Your API key, e.g. sk_live_... or sk_test_....

Headers

Idempotency-Key
string

Optional. Makes this write safe to retry: the same key replays the first response instead of acting twice.

Maximum string length: 255

Body

application/json
name
string
required
Maximum string length: 200
template_name
string
required
Maximum string length: 512
language
string
required
Maximum string length: 16
variable_map
object

How each recipient's template is filled. A slot is a fixed string, or an object naming a contact attribute or field.

Example:
contact_segment_id
integer
phone_numbers
string[]
Maximum array length: 50000
Maximum string length: 32
schedule_at
string<date-time> | null
quiet_hours
object
frequency_cap_days
integer
Required range: 1 <= x <= 365
whatsapp_connection_id
integer
start
boolean

Start immediately after creating.

contact_segment_uuid
string<uuid>

The audience: a segment from /v1/contact-segments. Preferred over contact_segment_id.

Response

Created.

uuid
string
name
string
status
string
template_name
string
language
string
schedule_at
string<date-time> | null
stats
object
created_at
string<date-time> | null