Retrieve Performance Metrics
Retrieve performance metrics for messages sent from your account, including counts of processed, delivered, hard-bounced events. Supports optional filters for time range, and campaign ID.
Headers
Query Parameters
The beginning of the time range for retrieving message performance 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 performance 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 performance metrics
Count of messages bounced during the specified time range.
x >= 0A 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 processed during the specified time range.
x >= 0The end of the time range for retrieving message performance metrics (exclusive).
The beginning of the time range for retrieving message performance metrics (inclusive).

