v2

latestOpenAPI 3.1.12026-07-2613060964.2 KB

Add Users to Draft List

API to add users in the draft list by passing its version_id returned in Start Sync API response.

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

Path parameters

list_idstring required

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

version_idstring required

Unique string identifier of the draft version 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
}