List consumption statistics
smsmode_list_consumptionsRead-only
Sent-message counts and money spent per month or per day (price amount and currency), optionally for one channel. Default: monthly, the last 3 months. GET /commons/v1/consumptions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | Only this channel flow. | |
| page | No | Page number, 1-based (default 1). Use next_page from the previous reply. | |
| end_date | No | Last day, yyyy-mm-dd (default today). | |
| page_size | No | Results per page, 1-100 (default 10). | |
| channel_id | No | Only this channel (from smsmode_list_channels). | |
| start_date | No | First day, yyyy-mm-dd (default 3 months ago). | |
| period_type | No | MONTH (default) or DAY. | |
| channel_type | No | SMS (default) or RCS. | |
| sort_by_start_date | No | Order by start date. |