Retrieve Engagement Metrics
Retrieve engagement metrics for messages sent from your account, including counts of open and click events. Supports optional filters for time range, and campaign ID.
Headers
Query Parameters
The beginning of the time range for retrieving message engagement 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 engagement 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 engagement metrics
A series of metrics aggregations bucketed by time interval (e.g. hour, day)
Count of click events by recipients.
x >= 0Count of recipients of delivered messages with HTML content that contains tracked click URLs, where click tracking is enabled in the send request.
x >= 0Count of open events by recipients.
x >= 0Count of recipients of delivered messages with HTML content where open tracking was enabled in the send request.
x >= 0The end of the time range for retrieving message engagement metrics (exclusive).
The beginning of the time range for retrieving message engagement metrics (inclusive).

