curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.edi.stateset.com/v1/documents' \
--header "Authorization: Bearer $EDI_API_TOKEN"
{
"data": [
{
"control_number": "string",
"correlation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"partner_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"processed_at": "2026-08-31T14:22:05Z",
"reference": "ORD-10042",
"status": "pending",
"transaction_set": "string",
"validation_summary": {
"errors": 1,
"findings": 1,
"validation_error": true,
"warnings": 1
}
}
],
"page": {
"limit": 20,
"offset": 1,
"total": 102
},
"success": true
}
Paged: data stays a plain array (newest first) and page carries {total, limit,…
Recent processed documents, newest first
GET
/
v1
/
documents
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.edi.stateset.com/v1/documents' \
--header "Authorization: Bearer $EDI_API_TOKEN"
{
"data": [
{
"control_number": "string",
"correlation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"partner_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"processed_at": "2026-08-31T14:22:05Z",
"reference": "ORD-10042",
"status": "pending",
"transaction_set": "string",
"validation_summary": {
"errors": 1,
"findings": 1,
"validation_error": true,
"warnings": 1
}
}
],
"page": {
"limit": 20,
"offset": 1,
"total": 102
},
"success": true
}
Query parameters
integer
Page size (default 200, max 1000)
integer
Documents to skip, newest first (default 0)
Response
PagedDocuments
DocumentListEntry[]
required
The requested page, newest first.
Show DocumentListEntry
Show DocumentListEntry
string
required
string
Ties this record to the request’s logs (and, for outbound, its delivery). Defaulted for log lines written before correlation tracking existed.
string
required
inbound or outbound.string
required
string
required
string (date-time)
required
string
required
Human-readable handle: PO number, shipment ID, invoice number.
string
required
accepted, rejected, generated, queued, or legacy sent.string
required
Transaction set ID, e.g.
850.DocumentValidationSummary,null
PageInfo
required
boolean
required
Status codes
| Code | Meaning |
|---|---|
200 | Recent processed documents, newest first |
403 | Admin credential required |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.edi.stateset.com/v1/documents' \
--header "Authorization: Bearer $EDI_API_TOKEN"
{
"data": [
{
"control_number": "string",
"correlation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"partner_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"processed_at": "2026-08-31T14:22:05Z",
"reference": "ORD-10042",
"status": "pending",
"transaction_set": "string",
"validation_summary": {
"errors": 1,
"findings": 1,
"validation_error": true,
"warnings": 1
}
}
],
"page": {
"limit": 20,
"offset": 1,
"total": 102
},
"success": true
}
Last modified on October 20, 2026