Jobs > Drivers

Get driver jobs

GET driver jobs

Endpoint

GET /api/v1/job_drivers

Parameters

Name Description In
by_state required Filter by job status ["accepted", "application", "all_rejected"]
page Page number
per_page Number of items per page

Request

Route

GET /api/v1/job_drivers?by_state=accepted

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTc5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTc3LCJleHAiOjE3NDAxNDM1NzcsImp0aSI6ImMwMWYyNTE1LWQ3MWYtNDU1Yy1hMTA1LTI3NDIyNzVmYWRiYiJ9.oUebl7MsBCb8QpXuYy9Wez-q39t706fhW_U2xpnYILM
Host: example.org
Cookie: 

Query Parameters

by_state=accepted

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: 3
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"d932f689295757cd8b9178d15b2a71dd"
cache-control: max-age=0, private, must-revalidate
x-request-id: 3451d134-36a4-4b16-9028-067b412917d7
x-runtime: 0.021081
content-length: 2095

Body

{
  "job_drivers": [
    {
      "id": 352,
      "interviews": [
        {
          "id": 57,
          "amend_end_at": null,
          "amend_start_at": null,
          "amended_by": null,
          "end_at": "2025-01-22T13:42:57.711Z",
          "interviewee_id": 352,
          "interviewer_id": 1184,
          "kind": "in_person",
          "location": "London",
          "start_at": "2025-01-22T13:12:57.711Z",
          "status": "pending"
        }
      ],
      "job": {
        "id": 331,
        "company": {
          "id": 412,
          "image": null,
          "name": "Effertz-Cummings"
        },
        "end_date": "2025-06-20",
        "job_type": "part_time",
        "number": 9001274,
        "postcode": "BS1 1AA",
        "published_at": "2025-01-22T12:12:57.658Z",
        "start_date": "2025-01-23",
        "title": "Chief Manager"
      },
      "kind": "accepted",
      "last_contract": {
        "id": 283,
        "days_to_expire": 31,
        "end_date": "2025-02-22",
        "job_driver_id": 352,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-01-21",
        "state": "active"
      },
      "money_earned": "0.0",
      "pending_contract": {
        "id": 284,
        "days_to_expire": 59,
        "end_date": "2025-03-22",
        "job_driver_id": 352,
        "policy_schema": {
          "markable_as_ended": false
        },
        "start_date": "2025-02-23",
        "state": "pending"
      },
      "updated_at": "2025-01-22T13:12:57.663Z"
    },
    {
      "id": 354,
      "interviews": [

      ],
      "job": {
        "id": 333,
        "company": {
          "id": 414,
          "image": null,
          "name": "Okuneva-Swaniawski"
        },
        "end_date": "2025-01-21",
        "job_type": "fixed_term_contract",
        "number": 58633617,
        "postcode": "L1 1AA",
        "published_at": "2025-01-22T12:12:57.700Z",
        "start_date": "2024-12-14",
        "title": "Marketing Planner"
      },
      "kind": "accepted",
      "last_contract": {
        "id": 285,
        "days_to_expire": -1,
        "end_date": "2025-01-21",
        "job_driver_id": 354,
        "policy_schema": {
          "markable_as_ended": false
        },
        "start_date": "2024-12-22",
        "state": "expired"
      },
      "money_earned": "0.0",
      "updated_at": "2025-01-22T13:12:57.706Z"
    },
    {
      "id": 351,
      "interviews": [

      ],
      "job": {
        "id": 330,
        "company": {
          "id": 411,
          "image": null,
          "name": "Robel, Swaniawski and Barton"
        },
        "end_date": "2025-06-15",
        "job_type": "part_time",
        "number": 89711931,
        "postcode": "B1 1AA",
        "published_at": "2025-01-22T12:12:57.635Z",
        "start_date": "2025-01-27",
        "title": "Legacy Marketing Planner"
      },
      "kind": "accepted",
      "last_contract": {
        "id": 282,
        "days_to_expire": 31,
        "end_date": "2025-02-22",
        "job_driver_id": 351,
        "policy_schema": {
          "markable_as_ended": true
        },
        "start_date": "2025-01-21",
        "state": "active"
      },
      "money_earned": "0.0",
      "updated_at": "2025-01-22T13:12:57.641Z"
    }
  ]
}