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.eyJzdWIiOiIzMTYiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzksImV4cCI6MTc2MzU0MjQzOSwianRpIjoiMTc3NmE0MjMtNzc5ZS00NTQ3LWEyZjItY2RlZmJhMjRiYWIyIn0.s8hP7LA5PCPMFNNOh_3sm5DzqEZp2kQ6_6ao-mFVL1c
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/"987fbd8bc251a7901e88794566945027"
cache-control: max-age=0, private, must-revalidate
x-request-id: 87b8f8f1-145f-436b-ab8f-ab1e74ebff40
x-runtime: 0.012803
content-length: 251

Body

{
  "users": [
    {
      "id": 315,
      "archived": false,
      "created_at": "2025-10-20T08:53:59.314Z",
      "employment": true,
      "first_name": "Tianna",
      "hire_date": "2025-10-19",
      "last_name": "Rogahn",
      "licences": [
        "c1"
      ],
      "profile_id": 89,
      "referral_code": "317624",
      "sign_up_method": "organic"
    }
  ]
}