API referenceBroadcasts

Create a broadcast

POST/broadcasts

Resend-compatible. segment_id (or audience_id) is a list or a filter segment; send: true creates and sends (or schedules) in one step: a refused send creates nothing. Honours Idempotency-Key (24 hours).

Authorization

apiKey
AuthorizationBearer <token>

A project API key: Authorization: Bearer s0_…

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/broadcasts" \  -H "Content-Type: application/json" \  -d '{    "from": "string",    "subject": "string"  }'
{  "id": "string"}