Get Notification Template Metrics
Fetch the delivery funnel for one Notification Template as a time series — sent, delivered, opened, clicked, errors, and undeliverable — broken out per provider and channel inside each bucket. Sum the entries in a bucket for its totals; there is no bucket-level total.
Choose the window absolutely with start and end, or relatively with lookback (an ISO 8601 duration). start and end take precedence when both are supplied, and a request carrying neither defaults to lookback=P30D. The window is snapped outwards onto the granularity grid so every bucket it overlaps is returned whole, and the snapped boundaries come back as start and end — align a chart on those rather than on what was requested. Every boundary is UTC; there is no timezone support.
Every bucket in the window is returned, including the quiet ones, whose data array is empty, so a series is directly plottable with no gap filling client-side. An unknown template id returns 200 with an all-empty series rather than 404, and messages sent without a Notification Template never appear here.
Available in the US region only.
Authorizations
Path Parameters
Query Parameters
The size of each bucket in the series. Defaults to DAY. WEEK buckets start on Sunday. A fine granularity caps the window it can cover: HOUR spans at most 7 days and DAY at most 90 days, and a wider window returns 400 — request a coarser granularity instead. WEEK and MONTH are uncapped, subject to the 1000-bucket limit on a single response.
HOUR, DAY, WEEK, MONTH Response
The delivery funnel for the Notification Template, bucketed over the resolved window.