Get your transactional email activity aggregated over a period of time
GET {{baseUrl}}/smtp/statistics/aggregatedReport?startDate=veniam elit in&endDate=veniam elit in&days=13396752&tag=veniam elit in
This endpoint will show the aggregated stats for past 90 days by default if startDate
and endDate
OR days
is not passed. The date range can not exceed 90 days
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
startDate | string | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate | |
endDate | string | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate | |
days | number | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | |
tag | string | Tag of the emails |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"range":"2016-09-08|2017-04-28","requests":19887,"delivered":18996,"hardBounces":234,"softBounces":1533,"clicks":9987,"uniqueClicks":8766,"opens":17654,"uniqueOpens":13688,"spamReports":1,"blocked":2,"invalid":0,"unsubscribed":2}