Get aggregated email metrics
Returns aggregated email engagement metrics for the specified time period, plus live subscriberCount (every stored contact) and activeSubscriberCount (status=active) as an audience snapshot independent of period. Set emailType=transactional for Send API and transactional SMTP traffic.
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/metrics
- AuthHTTP bearer
Query parameters
Sliding time window. Ignored when start/end are provided.
Start of custom time range (ISO 8601). Must be used with end.
End of custom time range (ISO 8601). Must be used with start. Max range: 90 days.
Structural email type filter. Use transactional for Send API and transactional SMTP traffic.
Recipient mailbox provider filter (e.g. gmail, microsoft, yahoo, icloud). Scopes engagement metrics to recipients of that provider. Provider-filtered responses report replies as 0 (replies cannot be segmented per provider) and omit the commerce forecast.
Recipient domain filter (e.g. gmail.com). Case-insensitive.
Email source filter as <type>:<id>: campaign:<campaignId>, sequence:<sequenceId>, sequence_step:<email step id> or transactional:<transactional email id>. Responses filtered by recipientDomain or source report replies as 0 and omit the commerce forecast. Returns 404 when the source is not in the company or not visible to the key.
Only sends that had this outcome: a permanent bounce, a temporary bounce, a blocked bounce (the receiver refused it over content, policy or reputation) or a spam complaint. Matches the dashboard's Sender Quality cards. Filtered responses report replies as 0 and omit the commerce forecast.
Include detected scanner, preview, and tracked asset open/click events.
Response
Success
Example response
{
"commerceForecast": {
"modelVersion": "cohort-rfm-v1"
}
}