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.eyJzdWIiOiI5MCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0ODUxNjQ5NSwiZXhwIjoxNzUxMTA4NDk1LCJqdGkiOiI4MTAxMTdlOC01ZWQ3LTQ5MTItYjc1Mi04NmU0MjZjOGUwMTAifQ.VVgdmd6XWRE1HQLJ4GCZAxe1hbVNX-6fpE-T7VdYFrA
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: 8
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"ce84cacd20f3af81efc06745badd4aa1"
cache-control: max-age=0, private, must-revalidate
x-request-id: 75150a91-617b-4b0b-a6db-e585883b9c4b
x-runtime: 0.032387
content-length: 1906

Body

{
  "job_drivers": [
    {
      "id": 22,
      "chat_id": 57,
      "driver": {
        "id": 91,
        "first_name": "Kelvin",
        "last_name": "Littel",
        "profile_id": 10,
        "referral_code": "861259"
      },
      "favourite_id": null,
      "job_name": "Administration Manager",
      "kind": "accepted",
      "updated_at": "2025-05-29T11:01:35.616Z"
    },
    {
      "id": 23,
      "chat_id": 58,
      "driver": {
        "id": 92,
        "first_name": "Angelique",
        "last_name": "Parker",
        "profile_id": 11,
        "referral_code": "618565"
      },
      "favourite_id": null,
      "job_name": "Administration Manager",
      "kind": "accepted",
      "updated_at": "2025-05-29T11:01:35.638Z"
    },
    {
      "id": 24,
      "chat_id": 60,
      "driver": {
        "id": 93,
        "first_name": "Marisha",
        "last_name": "Douglas",
        "profile_id": 12,
        "referral_code": "831239"
      },
      "favourite_id": null,
      "job_name": "Central Producer",
      "kind": "accepted",
      "updated_at": "2025-05-29T11:01:35.671Z"
    },
    {
      "id": 25,
      "chat_id": 61,
      "driver": {
        "id": 94,
        "first_name": "Shaun",
        "last_name": "Schiller",
        "profile_id": 13,
        "referral_code": "788572"
      },
      "favourite_id": null,
      "job_name": "Central Producer",
      "kind": "accepted",
      "updated_at": "2025-05-29T11:01:35.694Z"
    },
    {
      "id": 26,
      "chat_id": 62,
      "driver": {
        "id": 95,
        "first_name": "Marin",
        "last_name": "Runolfsdottir",
        "profile_id": 14,
        "referral_code": "284129"
      },
      "favourite_id": null,
      "job_name": "Central Producer",
      "kind": "accepted",
      "updated_at": "2025-05-29T11:01:35.715Z"
    },
    {
      "id": 27,
      "chat_id": 63,
      "driver": {
        "id": 96,
        "first_name": "Errol",
        "last_name": "Bogisich",
        "profile_id": 15,
        "referral_code": "694827"
      },
      "favourite_id": 3,
      "job_name": "Central Producer",
      "kind": "accepted",
      "updated_at": "2025-05-29T11:01:35.737Z"
    },
    {
      "id": 28,
      "chat_id": 64,
      "driver": {
        "id": 97,
        "first_name": "April",
        "last_name": "Yundt",
        "profile_id": 16,
        "referral_code": "361500"
      },
      "favourite_id": null,
      "job_name": "Central Producer",
      "kind": "accepted",
      "updated_at": "2025-05-29T11:01:35.758Z"
    },
    {
      "id": 29,
      "chat_id": 65,
      "driver": {
        "id": 98,
        "first_name": "Clemente",
        "last_name": "Hahn",
        "profile_id": 17,
        "referral_code": "927815"
      },
      "favourite_id": 2,
      "job_name": "Central Producer",
      "kind": "accepted",
      "updated_at": "2025-05-29T11:01:35.778Z"
    }
  ]
}