Skip to main content
POST
Bulk export PODs or shipping labels
Use this endpoint to request a bulk export of shipping labels or proof-of-delivery (POD) documents. The export runs asynchronously. The response contains a status_url that you poll until the export finishes and a signed download_url becomes available.

Document types

The server picks the file format from the document type, so any format you send is ignored.

Polling for the result

Send a GET request to the status_url every 5 to 10 seconds. When the export is complete, the response contains a download_url. The download URL is signed and expires after about 15 minutes. Each status request returns a freshly signed URL. See Get export status for the polling endpoint details and example response.

Authorizations

X-API-KEY
string
header
required

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

Body

application/json
data
object
required

Select jobs with query.do_numbers, with query.date (every job on that date), or with ids.

Response

Queued. The body isn't wrapped in data.

status_url
string
Example:

"https://app.detrack.com/api/v2/dn/jobs/export/status/5b22033310c92b1a086ece03"