Broadcasts
Create a new broadcast
Creates a broadcast for a phone number of the workspace.
Message type (type) and recipient source are independent choices — any combination of them is valid:
- type: text sends a free-form text message. It only reaches contacts with an open service window (i.e. that messaged the business recently).
- type: template sends an approved WhatsApp template message. Required to reach recipients that never messaged the business or whose service window is closed.
Recipient source — exactly one of the following must be provided, regardless of type:
- contactsQuery: filters contacts already registered in the workspace by tag. The broadcast is created with status pending and the recipients are resolved asynchronously; once resolved it moves to ready (or scheduled).
- contacts: an explicit list of recipients sent in the request body, which does not require the contacts to be registered. The broadcast messages are created synchronously and the broadcast is returned already in status ready (or scheduled, when scheduleDate is provided).
A broadcast in status ready is only sent after calling POST /broadcasts/{broadcastId}/send. A broadcast in status scheduled is sent automatically at scheduleDate.
post/broadcasts
Request body
Response
Broadcast created successfully