Skip to navigation

Get template time series data

Returns the recent history (hourly stats for the last 30 days) for a template.

Request

This endpoint expects an object.
keystringRequired
A valid Mandrill API key
namestringRequired
Name of an existing template

Response

Success
timestringformat: "^$|^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}(\.\d+)?$"

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

sentinteger>=0
Number of emails sent during the hour
hard_bouncesinteger>=0
Number of emails that hard bounced during the hour
soft_bouncesinteger>=0
Number of emails that soft bounced during the hour
rejectsinteger>=0
Number of emails that were rejected during the hour
complaintsinteger>=0
Number of spam complaints received during the hour
opensinteger>=0
Number of emails opened during the hour
unique_opensinteger>=0
Number of unique opens generated by messages sent during the hour
clicksinteger>=0
Number of tracked URLs clicked during the hour
unique_clicksinteger>=0
Number of unique clicks generated by messages sent during the hour

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error