Overview
Use these API endpoints to add subscribers to a list, see who's on a list, and look up, update, unsubscribe or resubscribe one subscriber. The API calls profiles “subscribers”.
Every URL starts with https://go.smartrmail.com/api/v1. For your API token, headers and status codes, see API overview. To create and manage the lists themselves, see Manage subscriber lists.
Subscribers on a list
:list_id is the list's id from the lists endpoint. These endpoints work with lists only, not segments.
Add subscribers to a list
POST https://go.smartrmail.com/api/v1/lists/:list_id/list_subscribers
Send an array of subscribers. Each needs an email or a phone number. subscribed defaults to true when you leave it out.
Expected request
Accept: application/json
Authorization: token YOUR_API_TOKEN
Content-Type: application/json
{
"subscribers": [
{
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Doe",
"custom_fields": [
{ "field_name": "City", "value": "Lisbon", "value_type": "text" }
]
},
{
"email": "[email protected]",
"first_name": "Sam"
}
]
}
Expected response
The subscribers that were added to the list, in the same format as Show a subscriber below. If none of them has a valid email or phone number, the response is 422 with an empty array.
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
[
{
"id": "asdf",
"email": "[email protected]",
"phone": null,
"first_name": "Jane",
"last_name": "Doe",
"unsubscribed_at": null,
"complained": false,
"delivered_count": 0,
"opened_count": 0,
"clicked_count": 0,
"joined_at": "2026-11-26T09:00:00.000Z",
"subscribed": true,
"custom_fields": [ ... ]
}
]
Important: Only add people who agreed to get your emails. If someone is already in your account, adding them through the API subscribes them again, even if they unsubscribed before. A deleted profile is restored.
Good to know: adding subscribers
Automations start: new subscribers enter any automation that starts when someone joins this list, such as a welcome series.
Existing profiles: people already in your account are matched by email or phone and added to the list. Their names are updated from your request.
Store customers: if Create store customers from new subscribers is on in Settings → Profiles, new subscribers are also created as customers in your store.
Show the subscribers on a list
GET https://go.smartrmail.com/api/v1/lists/:list_id/list_subscribers
Expected response
An array of every subscriber on the list, in the same format as Show a subscriber. On a large list this response is large.
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
[
{ "id": "asdf", "email": "[email protected]", "subscribed": true, ... },
{ "id": "qwer", "email": "[email protected]", "subscribed": true, ... }
]
Delete a subscriber
DELETE https://go.smartrmail.com/api/v1/lists/:list_id/list_subscribers/:email_or_phone_or_uid
Returns 200 OK with no body.
Important: This deletes the subscriber's profile from your account, not only from this list. To stop someone's emails without deleting them, use Unsubscribe a subscriber below. A deleted profile can be restored, so deleting isn't a data-erasure request. Send those to [email protected].
Individual subscribers
:email_or_phone_or_uid is the subscriber's email address, phone number or id. SmartrMail looks for a matching email first, then phone, then id.
Show a subscriber
GET https://go.smartrmail.com/api/v1/subscribers/:email_or_phone_or_uid
Expected response
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"id": "asdf",
"email": "[email protected]",
"phone": "+61400000000",
"first_name": "Jane",
"last_name": "Doe",
"unsubscribed_at": null,
"complained": false,
"delivered_count": 100,
"opened_count": 100,
"clicked_count": 100,
"joined_at": "2013-03-11T01:00:00.000Z",
"subscribed": true,
"custom_fields": [
{ "id": 1, "field_name": "Age", "value": "20", "value_type": "text" },
{ "id": 2, "field_name": "City", "value": "Lisbon", "value_type": "text" }
]
}
If no subscriber matches, the response is 404 with {"error": "Not found"}.
Update a subscriber
PUT https://go.smartrmail.com/api/v1/subscribers/:email_or_phone_or_uid
You can update email, first_name, last_name, phone, subscribed and custom_fields. Send only the fields you want to change.
Expected request
Accept: application/json
Authorization: token YOUR_API_TOKEN
Content-Type: application/json
{
"first_name": "Jane",
"last_name": "Doe",
"custom_fields": [
{ "field_name": "City", "value": "Lisbon", "value_type": "text" },
{ "field_name": "Loyalty number", "value": 123456789, "value_type": "number" },
{ "field_name": "Wedding date", "value": "2021-01-25", "value_type": "date" },
{ "field_name": "Birthday", "value": "1990-06-10", "value_type": "birthday" }
]
}
Expected response
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"id": "asdf",
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Doe",
"subscribed": true,
"custom_fields": [
{ "id": 2, "field_name": "City", "value": "Lisbon", "value_type": "text" },
{ "id": 3, "field_name": "Loyalty number", "value": 123456789, "value_type": "number" },
{ "id": 4, "field_name": "Wedding date", "value": "2021-01-25T00:00:00.000Z", "value_type": "date" },
{ "id": 5, "field_name": "Birthday", "value": "10/06", "value_type": "birthday" }
],
...
}
If the update fails validation, the response is 422 with the errors.
Unsubscribe a subscriber
POST https://go.smartrmail.com/api/v1/subscribers/:email_or_phone_or_uid/unsubscribe
No request body is needed. The subscriber stops getting your emails and SMS. Their custom fields aren't changed. The response is the subscriber, with subscribed set to false and unsubscribed_at set.
Resubscribe a subscriber
POST https://go.smartrmail.com/api/v1/subscribers/:email_or_phone_or_uid/resubscribe
No request body is needed. The subscriber gets your emails and SMS again, the same as when they resubscribe in the app. The response is the subscriber, with subscribed set to true and unsubscribed_at set to null. Only resubscribe people who asked to hear from you again.
Resubscribing doesn't send a list-triggered automation, such as a welcome series, to someone who already went through it.
Custom fields
Each custom field has a field_name, a value and a value_type. The value types are text, number, date and birthday. If no field with that name and type exists yet, SmartrMail creates it.
date: send a date such as 2021-01-25. Responses return it in full ISO 8601 format, such as 2021-01-25T00:00:00.000Z.
birthday: when you update a subscriber, send the full date as YYYY-MM-DD, for example 1990-06-10. SmartrMail keeps the day and month only, as dd/mm, or as mm/dd when the field's name contains “mm/dd”.
FAQs
Click a question to open it.
How do I remove someone from a list without deleting them?
How do I remove someone from a list without deleting them?
The API doesn't have a call for that. The delete endpoint deletes the whole profile. To stop someone's emails, unsubscribe them instead.
Can I add subscribers to a segment?
Can I add subscribers to a segment?
No. Segments fill themselves from their rules. Add subscribers to a list, and they join any segment whose rules they match.
Why does a subscriber's id look like “asdf” and not a number?
Why does a subscriber's id look like “asdf” and not a number?
The id in the API is the subscriber's unique id in SmartrMail. You can use it, their email or their phone number in any :email_or_phone_or_uid URL.
Need a hand with the subscribers API?
Our team is happy to help. Book a 1:1 call with the SmartrMail team and we’ll set it up with you.
