Skip to main content

Get Parcel

Retrieve the metadata and status for a single parcel by its unique ID.

Endpoint

GET /v2/parcels/{id}

Path Parameters

ParameterTypeRequiredDescription
idlongYesUnique identifier of the parcel

Response

Returns a ParcelIDInfo object describing the parcel's metadata and current status.

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

ENUMs

ParcelStatus

See ParcelStatus in Appendix — ENUMs for the full list of parcel status values.

Code Examples

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

See Also