Get email campaigns' statistics for a contact

Retrieve email campaign statistics for a specific contact identified by email address or numeric ID. Statistics include messages sent, opens, clicks, hard/soft bounces, deliveries, unsubscriptions, complaints, and transactional attributes. By default, data covers the last 90 days; use startDate and endDate parameters (YYYY-MM-DD) to specify a custom range with a maximum span of 90 days.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

identifierstring or integerRequired

Email (urlencoded) OR ID of the contact

Query parameters

startDatestringOptional

Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate. Must not be greater than the current date.

endDatestringOptional

Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate. Must not be greater than the current date. Maximum difference between startDate and endDate should not be greater than 90 days.

Response

Contact campaign statistics informations
clickedlist of objectsOptional
complaintslist of objectsOptional
deliveredlist of objectsOptional
hardBounceslist of objectsOptional
messagesSentlist of objectsOptional
openedlist of objectsOptional
softBounceslist of objectsOptional
transacAttributeslist of objectsOptional
unsubscriptionsobjectOptional

Errors

400
Bad Request Error
404
Not Found Error