Retrieve Volume Metrics
Retrieve volume metrics for messages sent from your account, including counts of processed, delivered and dropped events. Supports optional filters for time range and campaign ID.
Headers
Query Parameters
The beginning of the time range for retrieving message volume metrics (inclusive). Formats: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ. Defaults to one month ago if not provided.
The end of the time range for retrieving message volume metrics (exclusive). Formats: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ. Defaults to the current time if not provided.
The ID of the campaign to filter metrics by. If not provided, metrics for all campaigns will be returned.
The interval for aggregating metrics data. Allowed values:
- hour: Hourly breakdown
- day: Daily breakdown (default)
- week: Weekly breakdown
- month: Monthly breakdown
hour, day, week, month Response
Successfully retrieved volume metrics
A series of metrics aggregations bucketed by time interval (e.g. hour, day)
Count of messages delivered during the specified time range.
x >= 0Count of messages dropped during the specified time range.
x >= 0Count of messages processed during the specified time range.
x >= 0The end of the time range for retrieving message volume metrics (exclusive).
The beginning of the time range for retrieving message volume metrics (inclusive).

