lists

Batch add or remove members

Batch add/remove list members to static segment

post/3.0/lists/{list_id}/segments/{segment_id}

Request

Path parameters

list_idstring required

The unique ID for the list.

segment_idstring required

The unique id for the segment.

Request body

members_to_addstring[]

An array of emails to be used for a static segment. Any emails provided that are not present on the list will be ignored. A maximum of 500 members can be sent.

members_to_removestring[]

An array of emails to be used for a static segment. Any emails provided that are not present on the list will be ignored. A maximum of 500 members can be sent.

Response

error_countinteger

The total number of items matching the query, irrespective of pagination.

total_addedinteger

The total number of items matching the query, irrespective of pagination.

total_removedinteger

The total number of items matching the query, irrespective of pagination.

Example response

{
  "error_count": 42,
  "total_added": 42,
  "total_removed": 42
}

Changes

No recorded changes to this operation across all 1 revision of this API.