Jobs > Drivers

List job drivers

GET job drivers

Endpoint

GET /api/v1/jobs/:id/job_drivers

Parameters

Name Description In
page Page number
per_page Number of items per page
by_state Filter by state. All if empty ["current", "former"]

Request

Route

GET /api/v1/jobs/320/job_drivers

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTM5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjAxLCJleHAiOjE3NTU4NTgyMDEsImp0aSI6ImU1MDNiY2Y1LTQyZTYtNGIxOC04ZjRlLTUxYmUwZWM4NzYzNyJ9.w6thoFJ8Ry0UwtaTo0lX4qtol1RkCN0vzUFb8PKCfmA
Host: example.org
Cookie: 

Query Parameters

{}=

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: 6
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"d6dcc34192b2b254427fd52fb85651a8"
cache-control: max-age=0, private, must-revalidate
x-request-id: f7a080a0-3af3-43ba-8cf7-b2ae2c292bd7
x-runtime: 0.099772
content-length: 2982

Body

{
  "job_drivers": [
    {
      "id": 316,
      "chat_id": 566,
      "contract": {
        "id": 244,
        "days_to_expire": 31,
        "end_date": "2025-08-23",
        "job_driver_id": 316,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-07-22",
        "state": "active",
        "wages": [
          {
            "id": 564,
            "driver_rate": null,
            "kind": "bank_holiday",
            "rate": "59.0"
          }
        ]
      },
      "driver": {
        "id": 1140,
        "first_name": "Harriett",
        "last_name": "Witting",
        "profile_id": 525,
        "referral_code": "633657"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-07-23T10:23:21.189Z",
      "wage": {
        "amount": "53.1",
        "type": "fixed"
      }
    },
    {
      "id": 317,
      "chat_id": 567,
      "contract": {
        "id": 245,
        "days_to_expire": 31,
        "end_date": "2025-08-23",
        "job_driver_id": 317,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-07-22",
        "state": "active",
        "wages": [
          {
            "id": 565,
            "driver_rate": null,
            "kind": "bank_holiday",
            "rate": "70.0"
          }
        ]
      },
      "driver": {
        "id": 1141,
        "first_name": "Andrew",
        "last_name": "Oberbrunner",
        "profile_id": 526,
        "referral_code": "426119"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-07-23T10:23:21.219Z",
      "wage": {
        "amount": "63.0",
        "type": "fixed"
      }
    },
    {
      "id": 318,
      "chat_id": 568,
      "contract": {
        "id": 246,
        "days_to_expire": 31,
        "end_date": "2025-08-23",
        "job_driver_id": 318,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-07-22",
        "state": "active",
        "wages": [
          {
            "id": 566,
            "driver_rate": null,
            "kind": "sunday",
            "rate": "74.0"
          }
        ]
      },
      "driver": {
        "id": 1142,
        "first_name": "Trey",
        "last_name": "Borer",
        "profile_id": 527,
        "referral_code": "506051"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-07-23T10:23:21.261Z",
      "wage": {
        "amount": "66.6",
        "type": "fixed"
      }
    },
    {
      "id": 319,
      "chat_id": 569,
      "contract": {
        "id": 247,
        "days_to_expire": 31,
        "end_date": "2025-08-23",
        "job_driver_id": 319,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-07-22",
        "state": "active",
        "wages": [
          {
            "id": 567,
            "driver_rate": null,
            "kind": "weekday",
            "rate": "79.0"
          }
        ]
      },
      "driver": {
        "id": 1143,
        "first_name": "Cornell",
        "last_name": "Beier",
        "profile_id": 528,
        "referral_code": "202669"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-07-23T10:23:21.303Z",
      "wage": {
        "amount": "71.1",
        "type": "fixed"
      }
    },
    {
      "id": 320,
      "chat_id": 570,
      "contract": {
        "id": 248,
        "days_to_expire": -1,
        "end_date": "2025-07-22",
        "job_driver_id": 320,
        "policy_schema": {
          "markable_as_ended": false
        },
        "start_date": "2025-06-23",
        "state": "expired",
        "wages": [
          {
            "id": 568,
            "driver_rate": null,
            "kind": "bank_holiday",
            "rate": "25.0"
          }
        ]
      },
      "driver": {
        "id": 1144,
        "first_name": "Darin",
        "last_name": "Sporer",
        "profile_id": 529,
        "referral_code": "423028"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-07-23T10:23:21.337Z",
      "wage": {
        "amount": "22.5",
        "type": "fixed"
      }
    },
    {
      "id": 321,
      "chat_id": 571,
      "contract": {
        "id": 249,
        "days_to_expire": -1,
        "end_date": "2025-07-22",
        "job_driver_id": 321,
        "policy_schema": {
          "markable_as_ended": false
        },
        "start_date": "2025-06-23",
        "state": "expired",
        "wages": [
          {
            "id": 569,
            "driver_rate": null,
            "kind": "saturday",
            "rate": "47.0"
          }
        ]
      },
      "driver": {
        "id": 1145,
        "first_name": "Tenisha",
        "last_name": "Langosh",
        "profile_id": 530,
        "referral_code": "611722"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-07-23T10:23:21.381Z",
      "wage": {
        "amount": "42.3",
        "type": "fixed"
      }
    }
  ]
}