Skip to main content

Mailbox Interchange Stats

Returns interchange-level statistics for the mailbox associated with the authenticated session.

Endpoint​

GET /v2/reports/mailbox-interchange-stats

Response​

Returns interchange count and byte totals for the current mailbox, segmented by sent and received activity.

{
"success": true,
"data": {
"sent": 1452,
"received": 873,
"totalBytes": 10485760,
"period": "2026-04"
}
}

Response Fields​

FieldTypeDescription
sentintNumber of interchanges sent during the reporting period
receivedintNumber of interchanges received during the reporting period
totalByteslongTotal byte volume of all interchanges for the period
periodstringThe reporting period covered by these statistics

Code Examples​

curl -X GET "https://rest.ecgrid.io/v2/reports/mailbox-interchange-stats" \
-H "X-API-Key: $ECGRID_API_KEY"

See Also​