Get email metrics
Account-wide email performance over a date range, across both send paths: 1:1 messages and broadcasts. Per-broadcast numbers stay on GET /broadcasts/{id}/stats; this is the rollup.
Two metrics are source-specific, and blending them would misreport: opened, clicked and unsubscribed are broadcast-only (1:1 mail carries no open pixel or link rewriting by design), while suppressed is 1:1-only (a broadcast drops suppressed addresses before recipient rows exist). Group by source to see them apart.
Rates are computed over sent. Grouping by broadcast returns broadcast rows only; grouping by inbox returns message rows only.
Authorizations
API key in the format: Bearer {api_token}
Query Parameters
Inclusive first day, YYYY-MM-DD. Defaults to 7 days before end_date.
Inclusive last day, YYYY-MM-DD. Defaults to today.
Dimension to break the range down by. Omit for totals only.
period, source, broadcast, inbox Bucket size when group_by=period.
hour, day, week, month Restrict to one send path.
all, broadcast, message IANA timezone the day and period boundaries are computed in. Defaults to UTC.
Response
Email metrics for the range
email_metrics all, broadcast, message Per-group rows. Empty when group_by is omitted — totals is the whole answer.
period, source, broadcast, inbox, null Present only when grouping by period.
hour, day, week, month 
