Manage subscriber lists with NodeJS SDK: create/update list, add/remove/replace users.
supr_client.subscribers_list.create
method to create a new list
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.supr_client.subscribers_list.get
method.
supr_client.subscribers_list.get_all()
method
supr_client.subscribers_list.add()
to add list subscribers. There is no limit to the number of subscribers that you can add to a list.
supr_client.subscribers_list.remove()
Start Sync to create draft version of the list
Add Subscribers to draft list
version_id
in start sync response.Remove Subscribers from draft list
version_id
in start sync response.Finish Sync to make the draft version live