Get all your SMS activity (unaggregated events)

GET {{baseUrl}}/transactionalSMS/statistics/events?limit=50&startDate=veniam elit in&endDate=veniam elit in&offset=0&days=13396752&phoneNumber=veniam elit in&event=bounces&tags=veniam elit in&sort=desc

Request Params

KeyDatatypeRequiredDescription
limitnumberNumber of documents per page
startDatestringMandatory if endDate is used. Starting date (YYYY-MM-DD) of the report
endDatestringMandatory if startDate is used. Ending date (YYYY-MM-DD) of the report
offsetnumberIndex of the first document of the page
daysnumberNumber of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
phoneNumberstringFilter the report for a specific phone number
eventstringFilter the report for specific events
tagsstringFilter the report for specific tags passed as a serialized urlencoded array
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

{"events":[{"phoneNumber":"00911059469013","date":"2015-05-20T12:30:00.000Z","messageId":"1473139351170140","event":"sent","reason":"Recipient is currently unreachable","tag":"cabWaiting"},{"phoneNumber":"00911059469013","date":"2015-05-20T16:30:00.000Z","messageId":"1473139351170140","event":"delivered","reason":"Recipient is currently unreachable","tag":"cabRequest"}]}