Email summary for a period
Permission
analytics:readRate limit heavyUnique contacts per email event in the period (broadcasts and automations together) and the paid orders whose buyer clicked an email in the 7 days before buying. from/to are YYYY-MM-DD; default the last 30 days, to defaults to today, and a period longer than 366 days is cut to the 366 days ending at to (the response's from/to say what was used). attributed_revenue is in the project's main currency, attributed_revenue_by_currency has every currency; money is a decimal string, attributed_conversion a percentage. Counts against the heavy rate limit.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Query parameters
fromstringdatetostringdateYYYY-MM-DD, inclusive; must not be before from. Default: today.
RequestcURL
curl --request GET \ --url 'https://api.estage.com/v1/analytics/email' \ --header 'ESTAGE-API-Key: est_live_your-api-key'
OK
{
"data": {
"from": "2026-10-15",
"to": "2026-11-13",
"events": {
"delivered": 1840,
"opened": 912,
"clicked": 233,
"bounced": 12,
"complained": 1,
"unsubscribed": 9,
"failed": 3
},
"attribution": {
"currency": "USD",
"window_days": 7,
"total_orders": 64,
"attributed_orders": 11,
"attributed_conversion": 17.2,
"attributed_revenue": "845.00",
"attributed_revenue_by_currency": {
"USD": "845.00"
}
}
}
}Example. Errors are
{ error: { code, message, details } }.