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.eyJzdWIiOiIxMTM5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTIwLCJleHAiOjE3NTExMDg1MjAsImp0aSI6IjM3ZWE0MmRiLTA1OTktNGM4Ny04ZDk0LWYyOTMyNjk0MjczOCJ9.ygqFg0kn_Oqd_f5vmC6lnsjPLvNtVY6Ibi1-mtbat98
Host: example.org
Cookie: 

Query Parameters

{}=

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/"89fc1743e39b7fc782534b80703558f6"
cache-control: max-age=0, private, must-revalidate
x-request-id: 42f13461-a408-4d1e-b2ff-2886343abdcd
x-runtime: 0.069497
content-length: 2846

Body

{
  "job_drivers": [
    {
      "id": 316,
      "chat_id": 566,
      "contract": {
        "id": 244,
        "days_to_expire": 31,
        "end_date": "2025-06-29",
        "job_driver_id": 316,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-05-28",
        "state": "active",
        "wages": [
          {
            "id": 564,
            "kind": "saturday",
            "rate": "20.0"
          }
        ]
      },
      "driver": {
        "id": 1140,
        "first_name": "Linnie",
        "last_name": "Schuppe",
        "profile_id": 525,
        "referral_code": "399640"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-05-29T11:02:00.216Z",
      "wage": {
        "amount": "18.0",
        "type": "fixed"
      }
    },
    {
      "id": 317,
      "chat_id": 567,
      "contract": {
        "id": 245,
        "days_to_expire": 31,
        "end_date": "2025-06-29",
        "job_driver_id": 317,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-05-28",
        "state": "active",
        "wages": [
          {
            "id": 565,
            "kind": "sunday",
            "rate": "65.0"
          }
        ]
      },
      "driver": {
        "id": 1141,
        "first_name": "Zora",
        "last_name": "Hessel",
        "profile_id": 526,
        "referral_code": "531472"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-05-29T11:02:00.241Z",
      "wage": {
        "amount": "58.5",
        "type": "fixed"
      }
    },
    {
      "id": 318,
      "chat_id": 568,
      "contract": {
        "id": 246,
        "days_to_expire": 31,
        "end_date": "2025-06-29",
        "job_driver_id": 318,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-05-28",
        "state": "active",
        "wages": [
          {
            "id": 566,
            "kind": "saturday",
            "rate": "38.0"
          }
        ]
      },
      "driver": {
        "id": 1142,
        "first_name": "Kori",
        "last_name": "Smith",
        "profile_id": 527,
        "referral_code": "840393"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-05-29T11:02:00.263Z",
      "wage": {
        "amount": "34.2",
        "type": "fixed"
      }
    },
    {
      "id": 319,
      "chat_id": 569,
      "contract": {
        "id": 247,
        "days_to_expire": 31,
        "end_date": "2025-06-29",
        "job_driver_id": 319,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-05-28",
        "state": "active",
        "wages": [
          {
            "id": 567,
            "kind": "weekday",
            "rate": "48.0"
          }
        ]
      },
      "driver": {
        "id": 1143,
        "first_name": "Darrick",
        "last_name": "Zulauf",
        "profile_id": 528,
        "referral_code": "555227"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-05-29T11:02:00.283Z",
      "wage": {
        "amount": "43.2",
        "type": "fixed"
      }
    },
    {
      "id": 320,
      "chat_id": 570,
      "contract": {
        "id": 248,
        "days_to_expire": -1,
        "end_date": "2025-05-28",
        "job_driver_id": 320,
        "policy_schema": {
          "markable_as_ended": false
        },
        "start_date": "2025-04-29",
        "state": "expired",
        "wages": [
          {
            "id": 568,
            "kind": "weekday",
            "rate": "73.0"
          }
        ]
      },
      "driver": {
        "id": 1144,
        "first_name": "Luciano",
        "last_name": "Legros",
        "profile_id": 529,
        "referral_code": "189251"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-05-29T11:02:00.304Z",
      "wage": {
        "amount": "65.7",
        "type": "fixed"
      }
    },
    {
      "id": 321,
      "chat_id": 571,
      "contract": {
        "id": 249,
        "days_to_expire": -1,
        "end_date": "2025-05-28",
        "job_driver_id": 321,
        "policy_schema": {
          "markable_as_ended": false
        },
        "start_date": "2025-04-29",
        "state": "expired",
        "wages": [
          {
            "id": 569,
            "kind": "saturday",
            "rate": "67.0"
          }
        ]
      },
      "driver": {
        "id": 1145,
        "first_name": "Armando",
        "last_name": "Dare",
        "profile_id": 530,
        "referral_code": "589972"
      },
      "kind": "accepted",
      "started_at": null,
      "updated_at": "2025-05-29T11:02:00.327Z",
      "wage": {
        "amount": "60.3",
        "type": "fixed"
      }
    }
  ]
}