Add Users to List

Changed on

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

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

Request

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
}

Changes