API
Templates and campaigns API
Create email content, save a draft, schedule, or send.
Templates
GET
/api/v1/templatesScope
templates:read
POST
/api/v1/templatesScope
templates:write
Fields
nameRequiredemail_typesubjectRequiredpreview_texthtml_bodyRequiredis_activeGET
/api/v1/templates/{id}Scope
templates:read
PUT
/api/v1/templates/{id}Scope
templates:write
Fields
nameRequiredemail_typesubjectRequiredpreview_texthtml_bodyRequiredis_activeDELETE
/api/v1/templates/{id}Scope
templates:write
Campaigns
GET
/api/v1/campaignsScope
campaigns:read
POST
/api/v1/campaignsScope
campaigns:write
Fields
nameRequiredtemplate_idsubjectpreview_texthtml_bodylist_idscheduled_atSend template_id, or send both subject and html_body. Leave scheduled_at empty to save a draft. Only draft and scheduled campaigns can be edited.
GET
/api/v1/campaigns/{id}Scope
campaigns:read
PUT
/api/v1/campaigns/{id}Scope
campaigns:write
Fields
nameRequiredsubjectRequiredhtml_bodyRequiredpreview_textlist_idscheduled_atclear_scheduleDELETE
/api/v1/campaigns/{id}Scope
campaigns:write
Send a list
POST
/api/v1/campaigns/{id}/sendScope
campaigns:send
Sends to every subscribed contact on the campaign list. People who already received this campaign get it again. Bounced and unsubscribed contacts are skipped.