Batch add or remove members
Batch add/remove list members to static segment
Authentication
AuthorizationBearer
Authorization using a Mailchimp API key (a.k.a. Bearer token)
OR
AuthorizationBearer
Authorization using OAuth
Path parameters
list_id
The unique ID for the list.
segment_id
The unique id for the segment.
Request
Members to add/remove to/from a static segment
members_to_add
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_remove
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
_links
A list of link types and descriptions for the API schema documents.
error_count
The total number of items matching the query, irrespective of pagination.
errors
An array of objects, each representing an array of email addresses that could not be added to the segment or removed and an error message providing more details.
members_added
An array of objects, each representing a new member that was added to the static segment.
members_removed
An array of objects, each representing an existing list member that got deleted from the static segment.
total_added
The total number of items matching the query, irrespective of pagination.
total_removed
The total number of items matching the query, irrespective of pagination.