Retrieve Recipient Behaviour Metrics
Retrieve recipient behaviour metrics for messages sent from your account, including counts of unsubscribed events. Supports optional filters for time range, and campaign ID.
Headers
Query Parameters
The beginning of the time range for retrieving recipient behaviour 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 recipient behaviour 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 recipient behaviour metrics
A series of metrics aggregations bucketed by time interval (e.g. hour, day)
Count of recipients of delivered messages that include at least one of the unsubscribe link or unsubscribe headers. Since the unsubscribe feature requires exactly one recipient per message, this count also represents the total number of delivered messages.
x >= 0Count of unsubscribed events by recipients.
x >= 0The end of the time range for retrieving recipient behaviour metrics (exclusive).
The beginning of the time range for retrieving recipient behaviour metrics (inclusive).

