Drivers

List all drivers

GET drivers

Endpoint

GET /api/v1/drivers

Parameters

Name Description In
page Page number
per_page Per page
by_name Filter by name
by_company Filter by company
by_job_number Filter by job number
from_date Filter by from date
to_date Filter by to date
by_licenses Filter by license ["b", "b1", "c", "ce", "c1", "c1e", "d", "d1", "d1e", "adr", "hiab", "phv"]
by_state Filter by state ["active_drivers"]

Request

Route

GET /api/v1/drivers?by_licenses[]=c1

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzMTYiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxNzYsImV4cCI6MTc1NTg1ODE3NiwianRpIjoiYzE4Mzc4ZmQtNTRjNC00NGVmLWFlMTYtOGEzNzg2MWUxNmFmIn0.DB72kVBPkqHLv-pWGWj77wL1HD2GAxvrqfmWssoV3nc
Host: example.org
Cookie: 

Query Parameters

by_licenses=["c1"]

Body

{
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
per-page: 20
total: 1
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"9a80b6f43df536d4dd36397685485e5f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 12b3f26b-519f-47fc-88a9-09245223c83d
x-runtime: 0.012612
content-length: 253

Body

{
  "users": [
    {
      "id": 315,
      "archived": false,
      "created_at": "2025-07-23T10:22:56.882Z",
      "employment": true,
      "first_name": "Pearlie",
      "hire_date": "2025-07-22",
      "last_name": "Kovacek",
      "licences": [
        "c1"
      ],
      "profile_id": 89,
      "referral_code": "153428",
      "sign_up_method": "organic"
    }
  ]
}