Introduction
The Metrics API provides analytics and visibility into your email sending performance. By leveraging these endpoints, you can monitor performance indicators, track user engagement, analyze delivery outcomes, and gain valuable insights into recipient behavior patterns. MailChannels groups metrics into five categories:- Engagement: opens and clicks.
- Performance: processed, delivered, and bounced counts.
- Volume: processed, delivered, and dropped counts.
- Recipient Behavior: unsubscribe activity.
- Sender Breakdown: aggregate delivery performance grouped by campaign or sub-account.
Common parameters
All metric queries accept the same time filter:start_timeandend_time: ISO 8601 timestamps that restrict the query to a time range. If omitted,start_timedefaults to one month ago andend_timedefaults to the current time.
campaign_id: restrict results to a single campaign.interval: controls bucket granularity for the time series. Supported values:hour,day(default),week,month.
Engagement metrics require open and click tracking to be enabled, which is not available in the free tier.

