Skip to navigation

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_idstringRequired
The unique ID for the list.

Query parameters

skip_merge_validationbooleanOptional

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_checkbooleanOptional

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.
memberslist of anyRequired
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.
sync_tagsboolean or nullOptional
Whether this batch operation will replace all existing tags with tags in request.
update_existingboolean or nullOptional
Whether this batch operation will change existing members' subscription status.

Response

This endpoint returns an object.
error_countintegerOptional
The total number of items matching the query, irrespective of pagination.
errorslist of objectsOptional
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_memberslist of objectsOptional
An array of objects, each representing a new member that was added to the list.
total_createdintegerOptional
The total number of items matching the query, irrespective of pagination.
total_updatedintegerOptional
The total number of items matching the query, irrespective of pagination.
updated_memberslist of objectsOptional
An array of objects, each representing an existing list member whose subscription status was updated.