Get Email Statistics
Stats API
Get Tenant Statistics
Retrieve aggregated email delivery statistics (delivery, bounce, reception counts) for every domain on your tenant. Requires an API key with the domainStats scope.
GET
Get Email Statistics
Please note that domain statistics are available through a different API hostname (stats.sendrapp.org). See the Statistics API documentation for more details.
Features
- Real-time email delivery statistics
- Per-domain metrics tracking
- Bounce, delivery, and reception counts
- Last update timestamps
- Total domains count
Response
Returns{ client_id, domains, total_domains }, where domains maps each domain name to { counts: { bounce, delivery, reception }, lastUpdated }.
200 OK: Statistics retrieved successfully401 Unauthorized: Missing/invalid API key, or the key lacks thedomainStatsscope500 Internal Server Error: Unexpected server error
Authenticate with your API key in the
Authorization header. The key must have the domainStats scope.