Add and remove recipients from a recipient list.
Note Use the Rename Recipient List API to change the list name.
POST /v1/recipients/lists/{namedRecipientsListId}/members
Authorization: Bearer <access_token> or Authorization: Basic <encodedString> where <encodedString> is your <api-key>:<api-secret> string encoded using Base64 encoding
namedRecipientsListId REQUIRED
string (UUID)
Unique ID for the recipient list in RocketCOMS.
recipientsToAdd
array of strings
List of recipient IDs to add to the list.
recipientsToRemove
array of strings
List of recipient IDs to remove from the list.
If successful, returns 200 Named recipients list updated successfully.
SAMPLE REQUEST
{
"recipientsToAdd": [
"c0867abf-c939-4e42-abed-1ff2ebd6d5cf",
"36544a86-748d-41ef-85c3-a3761412e23b"
],
"recipientsToRemove": [
"eb2d2c10-264f-4f1a-9fb4-d86041a53114"
]
}
SAMPLE RESPONSE
{
200 Named recipients list updated successfully
}
RocketCOMs is a powerful SMS marketing platform that empowers businesses with seamless support for multiple brands, intuitive campaign management, real-time analytics, and advanced formatting options for successful text message campaigns.