Skip to main content
GET
Get bulk export status
After you queue a bulk export with Bulk export, poll this endpoint using the id from the returned status_url. When the export finishes, the response includes a signed download_url that you can use to fetch the generated file.

Polling

  • Poll every 5 to 10 seconds. Small exports usually finish within seconds, but large ones can take a few minutes.
  • Stop polling as soon as status is "completed", then download the file from download_url.
  • Set an overall timeout in your integration (for example, 10 minutes). If the export still shows "processing" after that, stop polling and contact Detrack support with the export id.

Authorizations

X-API-KEY
string
header
required

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

Path Parameters

id
string
required

Export ID, the last part of status_url.

Example:

"5b22033310c92b1a086ece03"

Response

Export status. The body isn't wrapped in data.

status
enum<string>
Available options:
processing,
completed
Example:

"completed"

download_url
string | null
Example:

"https://exports.example.com/shipping-labels.pdf?signature=EXAMPLE_SIGNATURE"