Skip to main content
GET
List orders

Authorizations

Authorization
string
header
required

Origin One API token. Pass it in the Authorization header: Authorization: Bearer <token>.

Query Parameters

limit
integer
default:10

Number of items per page (max 20).

Required range: 1 <= x <= 20
Example:

10

page
integer
default:1

Page of results to return (1-based).

Required range: 1 <= x <= 10000
Example:

1

companyId
string

Filter by company. A company that is inactive, deleted, or not linked to the API token returns an empty page.

Example:

"123"

createdFrom
string<date-time>

Only orders created at or after this time (ISO 8601 date-time with offset).

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
Example:

"2026-09-01T00:00:00Z"

createdTo
string<date-time>

Only orders created before this time (ISO 8601 date-time with offset). Exclusive, so consecutive ranges never overlap.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
Example:

"2026-09-01T00:00:00Z"

locationId
string

Filter by location. A location outside the API token’s companies returns an empty page.

Example:

"123"

code
string

Filter by order code (exact match).

Required string length: 1 - 255
Example:

"CPmJ6QbYMo"

specimenId
string

Only orders with a service whose specimen has this identifier (exact match).

Required string length: 1 - 255
Example:

"SP-1"

status
enum<string>

Filter by order status (exact match).

Available options:
adulterated,
cancelled,
complete,
expired,
fail,
fitForDuty,
incomplete,
integrationError,
negative,
lostInTransit,
nonNegative,
noShow,
notFitForDuty,
ordered,
pass,
pending,
positive,
released,
scheduled,
substituted,
testCancelled,
testNotPerformed,
unobtainable
Example:

"pending"

Response

Success.

data
object[]
required

Items on this page.

limit
integer
required

Number of items per page.

Example:

10

page
integer
required

Current page number (1-based).

Example:

1

total
integer
required

Number of matching items across all pages.

Example:

1