Skip to main content

Interchange Inbox List

Retrieve a paginated list of inbound interchanges for a mailbox within a specified date range.

Endpoint

POST /v2/interchanges/inbox-list

Request Body

FieldTypeRequiredConstraintsDescription
mailboxIdintNoFilter results to a specific mailbox.
ecGridIdFromintNoFilter by the sending ECGrid ID.
ecGridIdTointNoFilter by the receiving ECGrid ID.
beginDatedatetimeNoISO 8601Start of the date range to query.
endDatedatetimeNoISO 8601End of the date range to query.
pageNointNoMinimum: 1Page number for paginated results. Defaults to 1.
recordsPerPageintNoMaximum: 500Number of records per page. Defaults to 100.
{
"mailboxId": 12345,
"ecGridIdFrom": 0,
"ecGridIdTo": 0,
"beginDate": "2026-05-01T00:00:00Z",
"endDate": "2026-05-07T23:59:59Z",
"pageNo": 1,
"recordsPerPage": 100
}

Response

Returns a paginated array of InterchangeIDInfo objects representing inbound interchanges matching the query criteria.

{
"success": true,
"data": {
"totalRecords": 42,
"pageNo": 1,
"recordsPerPage": 100,
"interchanges": [
{
"interchangeId": 9870001,
"parcelId": 5550001,
"sender": "ACME_CORP",
"receiver": "BUYER_INC",
"standard": "X12",
"documentType": "850",
"status": "Active",
"created": "2026-05-01T10:30:00Z"
}
]
}
}

ENUMs

EDIStandard

See Enums Reference for the full EDIStandard and Status ENUM definitions.

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/interchanges/inbox-list" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "mailboxId": 12345, "ecGridIdFrom": 0, "ecGridIdTo": 0, "beginDate": "2026-05-01T00:00:00Z", "endDate": "2026-05-07T23:59:59Z", "pageNo": 1, "recordsPerPage": 100 }'

See Also