Skip to main content
POST
Search jobs
The search endpoint lets you query jobs with many optional filters, including date ranges, statuses, groups, vehicles, and item-level criteria. Results are paginated and include links with next and prev URLs for easy navigation through large result sets. For what status, primary_job_status, and tracking_status mean, see Status fields.

Pagination

Send page, limit, and sort as query parameters, for example POST /dn/jobs/search?page=2&limit=50. They aren’t read from inside data. The response includes links.next and links.prev when there are more pages. For listing jobs without filters, see List jobs. For retrieving a single job by DO number, see Retrieve job.

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.

Body

application/json
data
object

Response

Matching jobs.

data
object[]