Skip to main content

Pending Inbox List

Return all inbound parcels with InBoxReady status that have not yet been downloaded.

Endpoint​

POST /v2/parcels/pending-inbox-list

Request Body​

FieldTypeRequiredConstraintsDescription
mailboxIdintNoMailbox to check for pending parcels; defaults to authenticated user's mailbox

:::info Efficient Polling This endpoint is optimized for polling loops. It returns only unread parcels (InBoxReady) without requiring date range filters or pagination parameters, making it more efficient than Inbox List for routine file pickup checks. :::

{
"mailboxId": 1001
}

Response​

Returns an array of ParcelIDInfo objects where each parcel has InBoxReady status.

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

Code Examples​

curl -X POST "https://rest.ecgrid.io/v2/parcels/pending-inbox-list" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "mailboxId": 1001 }'

See Also​