Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************

Headers

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-07-27"

Query Parameters

account_id
string

The account to list shipments for. Defaults to the acting company.

status
enum<string>

Filter to shipments with this delivery status.

Available options:
unknown,
pre_transit,
in_transit,
out_for_delivery,
delivered,
available_for_pickup,
return_to_sender,
failure,
cancelled,
error
payment_id
string[]

Only shipments fulfilling these payments, each prefixed pay_. Repeat the parameter to pass several, up to 100 per request — one paginated list covers all of them.

created_before
string

Return shipments created before this ISO 8601 timestamp.

created_after
string

Return shipments created after this ISO 8601 timestamp.

order
enum<string>

The field to sort by.

Available options:
created_at
direction
enum<string>

The sort direction.

Available options:
asc,
desc
first
integer

The number of shipments to return.

after
string

A cursor; returns shipments after this position.

last
integer

The number of shipments to return from the end of the range.

before
string

A cursor; returns shipments before this position.

Response

excludes the created_after boundary row

data
object[]
required
page_info
object
required