KoltrixDocs

Send a broadcast

POST/api/v2/lists/:id/broadcast

Creates a campaign and queues it straight away; returns 202.

Needs an API key with the newsletter scope. Scopes

Parameters

Path

idstringrequired
The list id.

Body

subjectstringrequired
Subject line.
body_htmlstringrequired
HTML body.
body_textstring
Plain-text body. Generated from the HTML when omitted.
preheaderstring
Preview text shown after the subject in most inboxes.
from_namestring
Sender name. Defaults to the list's.
from_addressstring
Sender 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_address and from_name default to the list's.

Try it

Send this request from your browser.

Input

What you send

Stays 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.

POSThttps://api.koltrix.com/api/v2/lists/0b3c6d2e-91f4-4a7b-8c5d-2e3f4a5b6c7d/broadcast

Output

What comes back
The response appears here.
Press Send request.