Send a broadcast
POST
/api/v2/lists/:id/broadcastCreates a campaign and queues it straight away; returns 202.
Needs an API key with the newsletter scope. Scopes
Parameters
Path
idstringrequiredThe list id.
Body
subjectstringrequiredSubject line.
body_htmlstringrequiredHTML body.
body_textstringPlain-text body. Generated from the HTML when omitted.
preheaderstringPreview text shown after the subject in most inboxes.
from_namestringSender name. Defaults to the list's.
from_addressstringSender address. Defaults to the list's; required if the list has none.
Notes
- Each subscriber gets their own copy with an unsubscribe link and header, open tracking and tracked links.
- In the body, the merge variables {{name}}, {{first_name}}, {{first_name|fallback}}, {{email}} and {{unsubscribe_url}} are filled in per recipient (the subject is sent as written).
from_addressandfrom_namedefault to the list's.
Try it
Send this request from your browser.Input
What you sendStays in this browser tab (sessionStorage) and goes only to api.koltrix.com. Create one under Settings → API keys.
Requests are real and this one changes data in your workspace. Koltrix has no test mode, so use a dedicated key with only the permissions you need and revoke it when you are done.
The list id.
Subject line.
HTML body.
Plain-text body. Generated from the HTML when omitted.
Preview text shown after the subject in most inboxes.
Sender name. Defaults to the list's.
Sender address. Defaults to the list's; required if the list has none.
Valid JSON. The fields above and this editor stay in sync.
POST
https://api.koltrix.com/api/v2/lists/0b3c6d2e-91f4-4a7b-8c5d-2e3f4a5b6c7d/broadcastOutput
What comes backThe response appears here.
Press Send request.
Press Send request.