Export activity history
Begins an export of your activity history. The activity will be exported to a zip archive containing a single file named activity.csv with message details and custom metadata fields.
Request
This endpoint expects an object.
key
A valid Mandrill API key
notify_email
Optional email address to notify when the export job has finished
date_from
Start date as a UTC string in YYYY-MM-DD HH:MM:SS format
date_to
End date as a UTC string in YYYY-MM-DD HH:MM:SS format
senders
Array of sender email addresses to narrow the export to
states
Array of message states to narrow the export to; messages with ANY of the states will be included
api_keys
Array of API keys to narrow the export to; messages sent with ANY of the keys will be included
Response
Success
Errors
401
Unauthorized Error
500
Internal Server Error