Skip to main content
GET
Download a job document
Use this endpoint to download a single job document directly. Select the job with the do_number query parameter, plus date and type if you need to narrow it down. The response is a raw file stream with Content-Type: application/octet-stream and a Content-Disposition: attachment header.

Authorizations

X-API-KEY
string
header
required

Your Detrack API key, from Integrations > API Key in the dashboard.

Query Parameters

do_number
string
required

DO number of the job.

Example:

"DO-10001"

date
string<date>

Job date (YYYY-MM-DD). If several jobs share the DO number and you leave this out, the one with the latest date is used.

Example:

"2026-09-15"

type
enum<string>

Job type.

Available options:
Delivery,
Collection
format
enum<string>
default:pdf

File format. Always send it, so the downloaded file gets the right extension.

Available options:
pdf,
tiff
document
enum<string>
default:pod

Document type. shipping-label is singular here; bulk export uses shipping-labels.

Available options:
pod,
shipping-label

Response

The file.

The response is of type file.