Companies

List job drivers

GET job drivers

Endpoint

GET /api/v1/companies/: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"]
by_name Filter by driver name

Request

Route

GET /api/v1/companies/25/job_drivers

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI5MCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1MzI2NjE3MCwiZXhwIjoxNzU1ODU4MTcwLCJqdGkiOiI0ZWM4MDhkOC05NGY1LTQwMzQtYjZmNy1mMTZiODUyNDVlZjYifQ.OKYEHpPcgNNeYbtlmPM8KbtwDAOpd_l09hPqZwpUeIs
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: 8
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"0d4dec9f29f3ba3b72307316cc3dfaef"
cache-control: max-age=0, private, must-revalidate
x-request-id: b91b3756-30b0-4ba3-8423-e6e3ece3c569
x-runtime: 0.039204
content-length: 1890

Body

{
  "job_drivers": [
    {
      "id": 22,
      "chat_id": 57,
      "driver": {
        "id": 91,
        "first_name": "James",
        "last_name": "Walsh",
        "profile_id": 10,
        "referral_code": "481001"
      },
      "favourite_id": null,
      "job_name": "Farming Administrator",
      "kind": "accepted",
      "updated_at": "2025-07-23T10:22:50.673Z"
    },
    {
      "id": 23,
      "chat_id": 58,
      "driver": {
        "id": 92,
        "first_name": "Ola",
        "last_name": "Greenfelder",
        "profile_id": 11,
        "referral_code": "832666"
      },
      "favourite_id": null,
      "job_name": "Farming Administrator",
      "kind": "accepted",
      "updated_at": "2025-07-23T10:22:50.700Z"
    },
    {
      "id": 24,
      "chat_id": 60,
      "driver": {
        "id": 93,
        "first_name": "Gilbert",
        "last_name": "Strosin",
        "profile_id": 12,
        "referral_code": "642541"
      },
      "favourite_id": null,
      "job_name": "Mining Producer",
      "kind": "accepted",
      "updated_at": "2025-07-23T10:22:50.744Z"
    },
    {
      "id": 25,
      "chat_id": 61,
      "driver": {
        "id": 94,
        "first_name": "Bryant",
        "last_name": "Ortiz",
        "profile_id": 13,
        "referral_code": "250566"
      },
      "favourite_id": null,
      "job_name": "Mining Producer",
      "kind": "accepted",
      "updated_at": "2025-07-23T10:22:50.776Z"
    },
    {
      "id": 26,
      "chat_id": 62,
      "driver": {
        "id": 95,
        "first_name": "Maisie",
        "last_name": "Pagac",
        "profile_id": 14,
        "referral_code": "389771"
      },
      "favourite_id": null,
      "job_name": "Mining Producer",
      "kind": "accepted",
      "updated_at": "2025-07-23T10:22:50.808Z"
    },
    {
      "id": 27,
      "chat_id": 63,
      "driver": {
        "id": 96,
        "first_name": "Ula",
        "last_name": "Schneider",
        "profile_id": 15,
        "referral_code": "525270"
      },
      "favourite_id": 3,
      "job_name": "Mining Producer",
      "kind": "accepted",
      "updated_at": "2025-07-23T10:22:50.835Z"
    },
    {
      "id": 28,
      "chat_id": 64,
      "driver": {
        "id": 97,
        "first_name": "Marta",
        "last_name": "Boyer",
        "profile_id": 16,
        "referral_code": "629773"
      },
      "favourite_id": null,
      "job_name": "Mining Producer",
      "kind": "accepted",
      "updated_at": "2025-07-23T10:22:50.862Z"
    },
    {
      "id": 29,
      "chat_id": 65,
      "driver": {
        "id": 98,
        "first_name": "Particia",
        "last_name": "Hettinger",
        "profile_id": 17,
        "referral_code": "432746"
      },
      "favourite_id": 2,
      "job_name": "Mining Producer",
      "kind": "accepted",
      "updated_at": "2025-07-23T10:22:50.891Z"
    }
  ]
}