Create
POST
/platform/v1/broadcasts
const url = 'https://example.com/platform/v1/broadcasts';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"channel_id":1,"language_code":"es","name":"example","template_name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/platform/v1/broadcasts \ --header 'Content-Type: application/json' \ --data '{ "channel_id": 1, "language_code": "es", "name": "example", "template_name": "example" }'Create a draft broadcast.
Errors:
* 403 broadcasts_not_in_plan — free tier
(broadcast_recipients_limit == 0).
* 429 broadcasts_per_month_quota — over the per-month cap.
* 422 channel_not_found / channel_not_active /
channel_not_whatsapp.
Request Body required
Section titled “Request Body required ” Media type application/json
PlatformBroadcastCreate
object
channel_id
required
Channel Id
integer
language_code
Language Code
string
name
required
Name
string
template_name
required
Template Name
string
Responses
Section titled “ Responses ”Successful Response
Media type application/json
PlatformBroadcastResponse
Full broadcast row — the wire-key for the channel is
platform_channel_id (FastAPI serializes Pydantic v2 aliases as JSON
keys by default — mirror platform_data_plane.PlatformMessageResponse).
object
created_at
required
Created At
string format: date-time
id
required
Id
integer
language_code
required
Language Code
string
name
required
Name
string
platform_channel_id
required
Platform Channel Id
integer
recipient_count
required
Recipient Count
integer
status
required
Status
string
template_name
required
Template Name
string
updated_at
required
Updated At
string format: date-time
Example generated
{ "completed_at": "2026-04-15T12:00:00Z", "created_at": "2026-04-15T12:00:00Z", "id": 1, "language_code": "example", "name": "example", "platform_channel_id": 1, "recipient_count": 1, "scheduled_at": "2026-04-15T12:00:00Z", "started_at": "2026-04-15T12:00:00Z", "status": "example", "template_name": "example", "updated_at": "2026-04-15T12:00:00Z"}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}