Get your SMS activity aggregated per day

GET {{baseUrl}}/transactionalSMS/statistics/reports?startDate=&endDate=&days=7&tag=&sort=desc

Request Params

KeyDatatypeRequiredDescription
startDatenullMandatory if endDate is used. Starting date (YYYY-MM-DD) of the report
endDatenullMandatory if startDate is used. Ending date (YYYY-MM-DD) of the report
daysnumberNumber of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
tagnullFilter on a tag
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,"blocked":1026,"unsubscribed":720,"replied":5091,"accepted":2318,"rejected":0},{"date":"2017-05-01T00:00:00.000Z","requests":18812,"delivered":17499,"hardBounces":34,"softBounces":254,"blocked":1514,"unsubscribed":1090,"replied":10089,"accepted":4393,"rejected":0},{"date":"2017-05-02T00:00:00.000Z","requests":14321,"delivered":13427,"hardBounces":16,"softBounces":176,"blocked":1646,"unsubscribed":1170,"replied":11563,"accepted":4689,"rejected":0}]}