Batch subscribe or unsubscribe
Batch subscribe or unsubscribe list members.
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.
Query parameters
skip_merge_validation
If skip_merge_validation is true, member data will be accepted without merge field values, even if the merge field is usually required. This defaults to false.
skip_duplicate_check
If skip_duplicate_check is true, we will ignore duplicates sent in the request when using the batch sub/unsub on the lists endpoint. The status of the first appearance in the request will be saved. This defaults to false.
Request
Members to subscribe to or unsubscribe from a list.
members
An array of objects, each representing an email address and the subscription status for a specific list. Up to 500 members may be added or updated with each API call.
update_existing
Whether this batch operation will change existing members' subscription status.
Response
This endpoint returns an object.
_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 email address that could not be added to the list or updated and an error message providing more details.
new_members
An array of objects, each representing a new member that was added to the list.
total_created
The total number of items matching the query, irrespective of pagination.
total_updated
The total number of items matching the query, irrespective of pagination.
updated_members
An array of objects, each representing an existing list member whose subscription status was updated.