Mail Analytics
Get Analytics Time Series
Account-wide mail metrics charted over time
GET
Get an account-wide time series for a single metric, bucketed by day or week. Useful for charting mail performance trends. Missing buckets are filled with zeroes so the series is continuous across the full range.
Supported metrics:
sent— pieces maileddelivered— pieces deliveredscans— QR/link scans (each point also includessecondary_value: total scans vs. unique properties)open_rate— unique opens divided by pieces sent, as a percentage
string
default:"sent"
One of
sent, delivered, scans, open_rate.string
default:"day"
Bucket size:
day or week.integer
default:"30"
Number of days back from today when no date range is given (1–365).
string
Start of the date range (ISO). Overrides
days when provided.string
End of the date range (ISO, defaults to now).