Get your SMS activity aggregated over a period of time
Retrieve an aggregated report of your transactional SMS activity over a specified time period, including counts for requests, delivered, hard bounces, soft bounces, blocked, unsubscribed, replied, accepted, rejected, and skipped messages. Filter by date range using startDate and endDate (both required together, YYYY-MM-DD format) or by a number of past days (not compatible with date range). You can further narrow results by tag. If no date filter is provided, the report covers all available data and returns the auto-detected date range.
Authentication
The API key should be passed in the request headers as api-key for authentication.
OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.
Query parameters
Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report
Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report
Number of days in the past including today (positive integer). Not compatible with startDate and endDate