Skip to main content

Mailbox Stats

Returns an overall activity summary for the mailbox associated with the authenticated session.

Endpoint

GET /v2/reports/mailbox-stats

Response

Returns a high-level statistics summary for the current mailbox, including parcel and interchange counts.

{
"success": true,
"data": {
"mailboxId": 7890,
"totalParcels": 3245,
"totalInterchanges": 18900,
"totalBytes": 52428800,
"activePartners": 42,
"reportGeneratedAt": "2026-05-07T08:00:00Z"
}
}

Response Fields

FieldTypeDescription
mailboxIdintThe mailbox these statistics apply to
totalParcelsintTotal number of parcels processed
totalInterchangesintTotal number of interchanges processed
totalByteslongTotal byte volume across all activity
activePartnersintNumber of active trading partner connections
reportGeneratedAtdatetimeUTC timestamp when the statistics were compiled

Code Examples

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

See Also