Get your transactional email activity aggregated per day

GET {{baseUrl}}/smtp/statistics/reports?limit=10&offset=0&startDate=&endDate=&days=7&tag=&sort=desc

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

Request Params

KeyDatatypeRequiredDescription
limitnumberNumber of documents returned per page
offsetnumberIndex of the first document on the page
startDatenullMandatory if endDate is used. Starting date of the report (YYYY-MM-DD)
endDatenullMandatory if startDate is used. Ending date of the report (YYYY-MM-DD)
daysnumberNumber of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
tagnullTag of the emails
sortstringSort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"reports":[{"date":"2017-04-30T00:00:00.000Z","requests":10756,"delivered":10103,"hardBounces":21,"softBounces":137,"clicks":1026,"uniqueClicks":720,"opens":5091,"uniqueOpens":2318,"spamReports":0,"blocked":519,"invalid":1,"unsubscribed":0},{"date":"2017-05-01T00:00:00.000Z","requests":18812,"delivered":17499,"hardBounces":34,"softBounces":254,"clicks":1514,"uniqueClicks":1090,"opens":10089,"uniqueOpens":4393,"spamReports":0,"blocked":920,"invalid":2,"unsubscribed":3}]}