Create a broadcast
A draft to a segment, or (`send`) one sent now or at `scheduled_at`.
A draft to a segment, or (send) one sent now or at scheduled_at.
bearerAuthorizationBearer <token>application/json- body
ab_test?|nullaudience_id?|Deprecated: the segment's former name (Resend's audiences).
from*stringhtml?|With {{{contact.<key>|fallback}}}, {{{FIRST_NAME}}} and the unsubscribe URL
{{{RESEND_UNSUBSCRIBE_URL}}}.
name?string|nullpreview_text?|The inbox preview, hidden at the top of the HTML.
reply_to?array<string>|nullscheduled_at?|With send: ISO 8601, or in <n> <minutes|hours|days> (in 1 hour).
segment_id?|The segment to send to.
send?|Sends it at once (or at scheduled_at) after creating it.
send_at_local?|An exx extension: a time of day (HH:MM) to send at in each contact's time zone
(else the project's), over up to 26 hours; not with an A/B test.
subject*stringtext?|Absent: generated from the HTML; "": no text part.
topic_id?|The topic it is for: contacts who opted out of it are not sent to, and its unsubscribe link leaves only that topic.
variants?array<>|An exx extension: up to 3 more variants for an A/B test (with ab_test).
Success
application/json- response
The answer to a create or a send (Resend's).
id*stringuuidcurl -X POST 'https://api.exx.sh/broadcasts' \ -H 'Content-Type: application/json' \ -d '{ "from": "string", "subject": "string"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}