Koltrix logoKoltrixDocs

Add a subscriber

POST/api/v2/lists/:id/subscribers

Returns 201 with the subscriber.

Needs an API key with the newsletter scope. Scopes

Parameters

Path

idstringrequired
The list id.

Body

emailstringrequired
The address. Stored lower-cased.
namestring
The person's name, used by the name merge variables in broadcasts.
tagsarray
Array of strings.

Notes

  • Adding an email that is already on the list updates its name instead of failing; someone who unsubscribed stays unsubscribed.
  • On a list that requires double opt-in the subscriber starts as pending.
  • Counts against your plan's contacts allowance: at the limit the answer is 402 with code set to quota_exceeded.

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.
The address. Stored lower-cased.
The person's name, used by the name merge variables in broadcasts.
Array of strings.

Valid JSON. The fields above and this editor stay in sync.

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

Output

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