Get your SMS activity aggregated per day
GET {{baseUrl}}/transactionalSMS/statistics/reports?startDate=&endDate=&days=7&tag=&sort=desc
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
startDate | null | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | |
endDate | null | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | |
days | number | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | |
tag | null | Filter on a tag | |
sort | string | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
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}]}