Add a subscriber
POST
/api/v2/lists/:id/subscribersReturns 201 with the subscriber.
Needs an API key with the newsletter scope. Scopes
Parameters
Path
idstringrequiredThe list id.
Body
emailstringrequiredThe address. Stored lower-cased.
namestringThe person's name, used by the name merge variables in broadcasts.
tagsarrayArray 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.
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.
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.
POST
https://api.koltrix.com/api/v2/lists/0b3c6d2e-91f4-4a7b-8c5d-2e3f4a5b6c7d/subscribersOutput
What comes backThe response appears here.
Press Send request.
Press Send request.