Skip to navigation

Get batch operation status

Get the status of a batch request.

Authentication

AuthorizationBearer

Authorization using a Mailchimp API key (a.k.a. Bearer token)

OR
AuthorizationBearer
Authorization using OAuth

Path parameters

batch_idstringRequired
The unique id for the batch operation.

Query parameters

fieldslist of stringsOptional

A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.

exclude_fieldslist of stringsOptional

A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

Response

This endpoint returns an object.
completed_atdatetime or ""OptionalRead-only
The date and time when all operations in the batch request completed in ISO 8601 format.
errored_operationsintegerOptionalRead-only
The number of completed operations that returned an error.
finished_operationsintegerOptionalRead-only
The number of completed operations. This includes operations that returned an error.
idstringOptionalRead-only
A string that uniquely identifies this batch request.
response_body_urlstringOptionalRead-only
The URL of the gzipped archive of the results of all the operations.
statusenumOptionalRead-only

The status of the batch call. Learn more about the batch operation status.

Allowed values:
submitted_atdatetimeOptionalRead-only
The date and time when the server received the batch request in ISO 8601 format.
total_operationsintegerOptionalRead-only
The total number of operations to complete as part of this batch request. For GET requests requiring pagination, each page counts as a separate operation.