Skip to main content

Get Mailbox

Retrieves detailed information for a single ECGrid mailbox by its numeric ID.

Endpoint

GET /v2/mailboxes/{id}

Path Parameters

ParameterTypeRequiredDescription
idintegerYesUnique numeric identifier of the mailbox

Response

Returns a MailboxIDInfo object for the requested mailbox.

{
"success": true,
"data": {
"mailboxId": 5001,
"networkId": 1001,
"uniqueId": "ACMEMBOX01",
"companyName": "Acme Mailbox One",
"status": "Active",
"created": "2021-06-10T09:00:00Z",
"modified": "2025-02-14T11:30:00Z"
},
"errorCode": null,
"message": null
}

ENUMs

Status

The status field uses the Status enum. See the full value table in Appendix: ENUMs.

ValueDescription
DevelopmentMailbox is in development/testing
ActiveMailbox is live and operational
PreproductionStaging state before go-live
SuspendedTemporarily disabled
TerminatedPermanently closed

Code Examples

curl -X GET "https://rest.ecgrid.io/v2/mailboxes/$ID" \
-H "X-API-Key: $ECGRID_API_KEY"

See Also