curl --request GET \
--url https://app.sendmux.ai/api/v1/emails/metrics \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": {
"summary": {
"total": 15230,
"sent": 14890,
"failed": 210,
"rejected": 80,
"pending": 50
},
"comparison": {
"total": 15230,
"sent": 14890,
"failed": 210,
"rejected": 80,
"pending": 50,
"change_pct": {
"total": 8.01,
"sent": 7.9,
"failed": 10.53,
"rejected": 33.33,
"pending": 0
}
},
"timeseries": [
{
"timestamp": "2026-03-19T00:00:00Z",
"total": 123,
"sent": 123,
"failed": 123,
"rejected": 123,
"pending": 123
}
]
},
"meta": {
"request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}Returns aggregated email delivery counts with flexible time windowing and comparison period.
curl --request GET \
--url https://app.sendmux.ai/api/v1/emails/metrics \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": {
"summary": {
"total": 15230,
"sent": 14890,
"failed": 210,
"rejected": 80,
"pending": 50
},
"comparison": {
"total": 15230,
"sent": 14890,
"failed": 210,
"rejected": 80,
"pending": 50,
"change_pct": {
"total": 8.01,
"sent": 7.9,
"failed": 10.53,
"rejected": 33.33,
"pending": 0
}
},
"timeseries": [
{
"timestamp": "2026-03-19T00:00:00Z",
"total": 123,
"sent": 123,
"failed": 123,
"rejected": 123,
"pending": 123
}
]
},
"meta": {
"request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.sendmux.ai/llms.txt
Use this file to discover all available pages before exploring further.
Sendmux API key. Obtain from the dashboard under API Keys. Format: smx_root_...
Preset time window (default: 24h)
24h, 7d, 30d ISO 8601 start date (overrides window)
ISO 8601 end date
Timeseries granularity (default: daily)
hourly, daily Filter by provider publicId
Email metrics with comparison
true Hide child attributes
Hide child attributes
15230
14890
210
80
50
Hide child attributes
Was this page helpful?