Get email statistics

Returns aggregate email statistics; sent, delivered, bounced, and complained counts with their rates; optionally scoped to a date range.

GET
/v1/email/stats

Returns aggregate email statistics — sent, delivered, bounced, and complained counts with their rates — optionally scoped to a date range.

x-api-key<token>

In: header

Query Parameters

startDate?string|null
endDate?string|null

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/email/stats"
{  "totalSent": 0,  "totalDelivered": 0,  "totalBounced": 0,  "totalComplained": 0,  "deliveryRate": 0,  "bounceRate": 0,  "complaintRate": 0}