Skip to main content

Update Mailbox

Updates the profile information for an existing mailbox.

Endpoint

POST /v2/mailboxes/update

Request Body

FieldTypeRequiredConstraintsDescription
mailboxIdintegerYesID of the mailbox to update
companyNamestringNoUpdated display name for the mailbox

Additional optional fields (address, phone, etc.) follow the same shape as the network update. Refer to the live Swagger UI for the complete field list.

{
"mailboxId": 5001,
"companyName": "Acme Mailbox One — Updated"
}

Response

Returns the updated MailboxIDInfo object reflecting the saved values.

{
"success": true,
"data": {
"mailboxId": 5001,
"networkId": 1001,
"uniqueId": "ACMEMBOX01",
"companyName": "Acme Mailbox One — Updated",
"status": "Active",
"created": "2021-06-10T09:00:00Z",
"modified": "2026-05-07T10:45:00Z"
},
"errorCode": null,
"message": null
}

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/mailboxes/update" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "mailboxId": 5001, "companyName": "Acme Mailbox One — Updated" }'

See Also