Skip to navigation

Get template time series

Returns hourly stats for the last 30 days for a Mailchimp Transactional template. Returns an empty array if the template exists but has never been used to send messages.

Request

This endpoint expects an object.
keystringRequired
A valid Mandrill API key
mc_template_idintegerRequired
The Mailchimp template ID

Response

Success
sentinteger
Number of emails sent during the hour
hard_bouncesinteger
Number of emails that hard bounced during the hour
soft_bouncesinteger
Number of emails that soft bounced during the hour
rejectsinteger
Number of emails rejected during the hour
complaintsinteger
Number of spam complaints received during the hour
unsubsinteger
Number of unsubscribe requests received during the hour
opensinteger
Number of emails opened during the hour
unique_opensinteger
Number of unique opens generated by messages sent during the hour
clicksinteger
Number of tracked URLs clicked during the hour
unique_clicksinteger
Number of unique clicks generated by messages sent during the hour
timestringformat: "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$"

The hour as a UTC date string in YYYY-MM-DD HH:MM:SS format

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error