A broadcast is prepared as a draft, then goes out at the chosen time. These routes require a full_access key for the domain, like the other broadcast routes; add ?domain= if the key covers several domains.
| Method | Path | Body / query | Response |
|---|---|---|---|
POST | /api/v1/broadcasts/{id}/schedule | { scheduled_at, timezone? } | broadcast, status: "scheduled" |
DELETE | /api/v1/broadcasts/{id}/schedule | broadcast, status: "draft" | |
POST | /api/v1/broadcasts/{id}/send-now | broadcast, status: "queued" | |
GET | /api/v1/broadcasts/scheduled | scheduled_after, scheduled_before, limit | list, nearest first |
GET | /api/v1/broadcasts/{id}/check | content check |
Creating the draft
POST /api/v1/broadcasts without send creates a draft (Creating and sending):
curl https://mail.example.com/api/v1/broadcasts \
-H "Authorization: Bearer $VOAARO_API_KEY" -H "Content-Type: application/json" \
-d '{"segment_id": "…", "subject": "November news", "html": "<p>Hello {{{contact.first_name|there}}}!</p>"}'Without from, the broadcast uses the sender from the settings.
Before scheduling
GET /api/v1/broadcasts/{id}/check reviews the content the way a spam filter would, without blocking or sending anything:
{
"object": "content_check",
"id": "b1c2…",
"score": 80,
"warnings": 2,
"errors": 0,
"checks": [
{ "id": "subject_caps", "level": "warning", "message": "Subject mostly in capitals" },
{ "id": "text_part", "level": "warning", "message": "HTML only: add a text version" },
{ "id": "unsubscribe_link", "level": "ok", "message": "…" }
]
}level is ok, info (advice, no effect on the score), warning or error. score starts at 100: 10 points off per warning, 30 per error. The factors (id):
id | What is checked |
|---|---|
subject_length | empty subject, or longer than 78 characters |
subject_caps | subject mostly in capitals |
subject_punctuation | several !, repeated currency symbols |
preview_text | missing preview text |
unsubscribe_link | unsubscribe link (added to the footer if missing) |
postal_address | postal address in the settings (sending is refused without it) |
text_part | HTML without a text version |
image_ratio | too little text for the images |
link_shorteners | link shorteners (bit.ly…) |
insecure_links | http:// links |
html_size | HTML over 102 KB (Gmail clips the message beyond) |
Voaaro computes it itself, with no third-party service. The console shows it in the broadcast editor. Only the postal address and the domain prevent sending (errors).
Scheduling
Node / Bun
await voaaro.broadcasts.schedule(broadcastId, { scheduledAt: "2026-11-20T09:00", timezone: "Europe/Paris" })Python
voaaro.Broadcasts.schedule(broadcast_id, {"scheduled_at": "2026-11-20T09:00", "timezone": "Europe/Paris"})PHP
$voaaro->broadcasts->schedule($broadcastId, '2026-11-20T09:00', 'Europe/Paris');Go
b, err := client.Broadcasts.Schedule(broadcastId, &voaaro.ScheduleBroadcastRequest{ScheduledAt: "2026-11-20T09:00", Timezone: "Europe/Paris"})cURL
curl https://mail.example.com/api/v1/broadcasts/$BROADCAST_ID/schedule \
-H "Authorization: Bearer $VOAARO_API_KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: newsletter-november" \
-d '{"scheduled_at": "2026-11-20T09:00", "timezone": "Europe/Paris"}'{
"object": "broadcast",
"id": "b1c2…",
"name": "November",
"status": "scheduled",
"scheduled_at": "2026-11-20T08:00:00Z",
"timezone": "Europe/Paris",
"started_at": null,
"segment_id": "…",
"subject": "November news",
"domain": "example.com"
}scheduled_at can be written three ways:
| Form | Example | Read as |
|---|---|---|
| ISO 8601 with offset | 2026-11-20T08:00:00Z, 2026-11-20T09:00:00+01:00 | that exact date |
| delay | in 2 hours, in 30 min | from now |
| local time, no offset | 2026-11-20T09:00 with "timezone": "Europe/Paris" | 9 am in Paris, daylight saving time included |
- The date must be in the future, 30 days at most. A past date responds
422: to go right away, usesend-now. timezone: a known IANA time zone (Europe/Paris,America/New_York,Indian/Antananarivo),422otherwise. It is kept with the broadcast for display;scheduled_atis always returned in UTC.Idempotency-Key(idempotency): the same request replayed returns the first response.
Rescheduling
Calling schedule again on a scheduled broadcast changes its date; every check is run again.
Unscheduling
DELETE /api/v1/broadcasts/{id}/schedule turns the broadcast back into a draft (409 if it is not scheduled). It can then be edited with PATCH and scheduled again.
Sending right away
POST /api/v1/broadcasts/{id}/send-now sends a draft or a scheduled broadcast without waiting: status: "queued", started_at set. Idempotency-Key is accepted here too.
In the SDKs: schedule, unschedule, sendNow, listScheduled, check (Node, PHP); schedule, unschedule, send_now, list_scheduled, check (Python); Schedule, Unschedule, SendNow, ListScheduled, Check (Go).
Listing upcoming broadcasts
GET /api/v1/broadcasts/scheduled returns the scheduled broadcasts, nearest first: { object: "list", has_more, data: [{ id, name, status, scheduled_at, timezone, subject, from, segment_id, domain }] }.
scheduled_after,scheduled_before: ISO 8601 bounds (scheduled_afterincluded,scheduled_beforeexcluded).limit: 1 to 100, 50 by default.
curl "https://mail.example.com/api/v1/broadcasts/scheduled?scheduled_before=2026-12-01T00:00:00Z" \
-H "Authorization: Bearer $VOAARO_API_KEY"Errors
Checked when scheduling, and again at departure:
| Status | Cause |
|---|---|
422 postal_address : … | postal address missing from the settings |
403 invalid_access | domain not verified, sending disabled, or no DMARC record |
422 segment_id, from et subject, html ou text | missing segment, sender, subject or content |
422 scheduled_at | past date (use send-now), more than 30 days, unreadable form |
422 timezone | unknown time zone |
409 conflict | broadcast already started, sent or canceled; DELETE …/schedule on a broadcast that is not scheduled |
Error messages name the field (error format). When it starts, the broadcast produces the broadcast.started webhook.