POST
/broadcasts
Create Broadcast
Compatibility endpoint to create broadcast data.
Compatibility endpoint to create broadcast data.
curl -X POST "http://localhost:8080/v1/broadcasts" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "order-delay-campaign",
"audience_id": "aud_123",
"segment_id": "seg_123",
"subject": "We are still working on your order",
"html": "<p>Thanks for your patience.</p>",
"text": "Thanks for your patience.",
"category": "reminder",
"topic": "renewal_reminders"
}'
{
"id": "id_123"
}
{
"name": "order-delay-campaign",
"audience_id": "aud_123",
"segment_id": "seg_123",
"subject": "We are still working on your order",
"html": "<p>Thanks for your patience.</p>",
"text": "Thanks for your patience.",
"category": "reminder",
"topic": "renewal_reminders"
}