Skip to main content
GET
List jobs
Use the List Jobs endpoint to retrieve a paginated collection of jobs. You can filter results by date, type, status, assignee, or DO number, and sort them by attributes such as created_at. For what status, primary_job_status, and tracking_status mean, see Status fields.

Authorizations

X-API-KEY
string
header
required

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

Query Parameters

page
integer
default:1

Page number.

limit
integer
default:25

Records per page. The API doesn't cap it, but keep it to 100 or fewer.

sort
string

Comma-separated fields to sort by. Prefix a field with - for descending, for example -created_at. Allowed: do_number, start_date, date, created_at, assign_to, status, job_sequence, job_time, customer. Other fields are ignored.

date
string<date>

Filter by job date (YYYY-MM-DD).

type
enum<string>

Filter by job type.

Available options:
Delivery,
Collection
assign_to
string

Filter by assigned driver name. Send it empty to list unassigned jobs.

status
string

Filter by status. Separate several with commas, for example dispatched,completed.

do_number
string

Filter by exact DO number.

query
string

Free-text search. With date, it matches DO number, recipient name, address, assignee, zone, and item description (partial, case-insensitive) or the exact tracking number; email isn't searched, and status must be a single exact value (or unassigned). When query is set, do_number, assign_to, and sort are ignored, and type and status only apply with date.

Response

A page of jobs.

data
object[]