Get all your transactional email activity (unaggregated events)

This endpoint will show the aggregated stats for past 30 days by default if startDate and endDate OR days is not passed. The date range can not exceed 90 days

Authentication

api-keystring

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

Query parameters

limitlongOptionalDefaults to 2500
Number limitation for the result returned
offsetlongOptionalDefaults to 0
Beginning point in the list to retrieve from.
startDatestringOptional

Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate

endDatestringOptional

Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate

dayslongOptional

Number of days in the past including today (positive integer). Not compatible with ‘startDate’ and ‘endDate’

emailstringOptionalformat: "email"
Filter the report for a specific email addresses
eventenumOptional
Filter the report for a specific event type
tagsstringOptional

Filter the report for tags (serialized and urlencoded array)

messageIdstringOptional
Filter on a specific message id
templateIdlongOptional
Filter on a specific template id
sortenumOptionalDefaults to desc

Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed

Allowed values:

Response

Email events report informations
eventslist of objects or null

Errors