Email Campaigns
Send Campaign
Create and send (or schedule) an email campaign in one request
POST
Creates a campaign record and immediately sends it to all resolved recipients. Pass
scheduled_at to queue it for later instead.
At least one recipient source is required — you can combine multiple.
Headers
Bearer YOUR_API_KEYYour project UUID. Not required if the API key already encodes the project.
Request Body
Display name stored in the dashboard (e.g.
"June Newsletter")Email subject line shown to recipients
HTML body of the email. YouTube
<iframe> embeds are automatically converted to linked thumbnail images.Explicit list of email addresses to send to
IDs of contact lists — all members of each list receive the email
IDs of contact segments — filtered contacts receive the email
Set
true to send to every contact in the projectISO 8601 datetime to schedule delivery (e.g.
"2025-07-01T09:00:00Z"). Omit to send immediately.Optional file attachments. Each object must have
content (base64), filename, and type (MIME). Max 10 MB per file.Response
true when the campaign was created and sending initiatedThe created campaign record
Total unique addresses targeted
Emails accepted by the mail service
Emails that failed to send
Human-readable summary (e.g.
"Email campaign sent to 835 of 842 recipients")