v2

latestOpenAPI 3.1.12026-07-2613060964.2 KB

Add Users to List

API to add users to the list by passing their distinct_ids.

post/v1/subscriber_list/{list_id}/subscriber/add/

Path parameters

list_idstring required

Unique string identifier of the list to which user needs to be updated

Request body

distinct_idsstring[]

Array of subscriber_ids, uniquely identifying the subscribers to be added to the list.

Response

201

successboolean

Indicates whether the operation was successful.

affected_countinteger

Number of subscribers affected by the operation.

Example response

{
  "success": true,
  "affected_count": 2
}