Create / Update list
You can usesupr_client.subscribers_list.create
method to create a new list
Guidelines on defining the list_id
list_id
is case-insensitive. Suprsend first converts list_id to lowercase before storing it or doing any sort of comparison on it.list_id
can be of max 64 characters.- It can contain characters [a-z0-9_-] that is alphanumeric characters, _(underscore) and -(hyphen).
Get list data
You can get the latest information of a list usingsupr_client.subscribers_list.get
method.
Get all lists
To get the data of all the lists created in your workspace, usesupr_client.subscribers_list.get_all()
method
Add Subscribers to the list
Usesupr_client.subscribers_list.add()
to add list subscribers. There is no limit to the number of subscribers that you can add to a list.
Remove Subscribers from the list
You can remove subscribers from the list usingsupr_client.subscribers_list.remove()
Delete list
You can delete a list using thesupr_client.subscribers_list.delete()
method.
Replace users in list
If you want to refresh a list completely with a new set of users, you can replace users by creating a draft version of the list and updating users in it.Use this method only if you want to completely overwrite the list members.
1
Start Sync to create a draft version of the list
This method will create a draft version of the list where you can add the new set of users to replace existing users.
2
Add Subscribers to the draft list
You can use this method to add subscribers to the list’s draft version created in Step-1. You’ll get
version_id
in the start sync response.3
Remove Subscribers from the draft list
You can use this method to remove subscribers from the list’s draft version created in Step-1. You’ll get
version_id
in the start sync response.4
Finish Sync to make the draft version live
Once your subscribers are updated in the list, use this method to finish sync and make the draft version updated in the above steps live.