Skip to main content

Find Mailbag Control ID

Search for parcels that match a given mailbag control ID string.

Endpoint

POST /v2/parcels/find-mailbagcontrolid

Request Body

FieldTypeRequiredConstraintsDescription
mailboxIdintNoNarrow the search to a specific mailbox
mailbagControlIdstringYesNon-emptyThe mailbag control ID string to search for
{
"mailboxId": 1001,
"mailbagControlId": "ACME-2026050701"
}

Response

Returns an array of ParcelIDInfo objects whose mailbag control ID matches the search value.

{
"success": true,
"data": [
{
"parcelId": 987654321,
"mailboxId": 1001,
"networkId": 42,
"fileName": "invoice_batch_20260507.edi",
"bytes": 14872,
"status": "InBoxTransferred",
"ecGridIdFrom": 112233,
"ecGridIdTo": 445566,
"created": "2026-05-07T08:00:00Z",
"modified": "2026-05-07T08:10:00Z"
}
]
}

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/parcels/find-mailbagcontrolid" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "mailboxId": 1001, "mailbagControlId": "ACME-2026050701" }'

See Also