Skip to main content

Get Status Lists

Returns the authoritative list of all valid status codes supported by the current API version, covering parcels, interchanges, and other tracked objects.

:::tip Cache This Response Status code values are stable and rarely change between API versions. This response is safe to cache in your application for extended periods. Re-fetch it when upgrading to a new API version to detect any additions or changes. :::

Endpoint

GET /v2/status-lists

Response

Returns an object containing named arrays, each holding the valid status codes for a specific object type.

{
"success": true,
"data": {
"parcelStatuses": [
{ "code": "InBoxReady", "description": "Parcel is in the inbox and ready for download" },
{ "code": "InBoxTransferred", "description": "Parcel has been transferred to the recipient" },
{ "code": "as2Receive", "description": "Parcel received via AS2" },
{ "code": "as2Sent", "description": "Parcel sent via AS2" },
{ "code": "ftpReceived", "description": "Parcel received via FTP" },
{ "code": "ftpSent", "description": "Parcel sent via FTP" },
{ "code": "outboxDeliveryError", "description": "Delivery error occurred in the outbox" }
],
"interchangeStatuses": [
{ "code": "Received", "description": "Interchange has been received" },
{ "code": "Delivered", "description": "Interchange has been delivered to the recipient" },
{ "code": "Cancelled", "description": "Interchange was cancelled before delivery" }
]
}
}

Response Fields

FieldTypeDescription
parcelStatusesarrayAll valid status codes for parcel objects
interchangeStatusesarrayAll valid status codes for interchange objects
parcelStatuses[].codestringThe status code string used in API requests and responses
parcelStatuses[].descriptionstringHuman-readable explanation of the status
interchangeStatuses[].codestringThe status code string used in API requests and responses
interchangeStatuses[].descriptionstringHuman-readable explanation of the status

Code Examples

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

See Also