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.eyJzdWIiOiI5MCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0MjQ2NDkwNywiZXhwIjoxNzQ1MDU2OTA3LCJqdGkiOiI1NjdiZDdiYS1hNjJiLTRhNmMtYWRlNS1iNTcxNWE4NTlhMTUifQ.6qN8MRRlTXcUZnDTaNvgmgnYWCE64Wy9utpcqqDPapU
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/"7a9173d4b868be6fb0657044c9a77718"
cache-control: max-age=0, private, must-revalidate
x-request-id: 2092fa7f-a652-4feb-b81f-a7463965f106
x-runtime: 0.031168
content-length: 1907

Body

{
  "job_drivers": [
    {
      "id": 22,
      "chat_id": 57,
      "driver": {
        "id": 91,
        "first_name": "Josue",
        "last_name": "Kassulke",
        "profile_id": 10,
        "referral_code": "379330"
      },
      "favourite_id": null,
      "job_name": "Banking Liaison",
      "kind": "accepted",
      "updated_at": "2025-03-20T10:01:47.022Z"
    },
    {
      "id": 23,
      "chat_id": 58,
      "driver": {
        "id": 92,
        "first_name": "Buck",
        "last_name": "Price",
        "profile_id": 11,
        "referral_code": "153921"
      },
      "favourite_id": null,
      "job_name": "Banking Liaison",
      "kind": "accepted",
      "updated_at": "2025-03-20T10:01:47.039Z"
    },
    {
      "id": 24,
      "chat_id": 60,
      "driver": {
        "id": 93,
        "first_name": "Marget",
        "last_name": "Skiles",
        "profile_id": 12,
        "referral_code": "097899"
      },
      "favourite_id": null,
      "job_name": "Regional Facilitator",
      "kind": "accepted",
      "updated_at": "2025-03-20T10:01:47.065Z"
    },
    {
      "id": 25,
      "chat_id": 61,
      "driver": {
        "id": 94,
        "first_name": "Yolando",
        "last_name": "Medhurst",
        "profile_id": 13,
        "referral_code": "370038"
      },
      "favourite_id": null,
      "job_name": "Regional Facilitator",
      "kind": "accepted",
      "updated_at": "2025-03-20T10:01:47.083Z"
    },
    {
      "id": 26,
      "chat_id": 62,
      "driver": {
        "id": 95,
        "first_name": "Jame",
        "last_name": "Bogisich",
        "profile_id": 14,
        "referral_code": "428103"
      },
      "favourite_id": null,
      "job_name": "Regional Facilitator",
      "kind": "accepted",
      "updated_at": "2025-03-20T10:01:47.101Z"
    },
    {
      "id": 27,
      "chat_id": 63,
      "driver": {
        "id": 96,
        "first_name": "Edmundo",
        "last_name": "Murray",
        "profile_id": 15,
        "referral_code": "340446"
      },
      "favourite_id": 3,
      "job_name": "Regional Facilitator",
      "kind": "accepted",
      "updated_at": "2025-03-20T10:01:47.121Z"
    },
    {
      "id": 28,
      "chat_id": 64,
      "driver": {
        "id": 97,
        "first_name": "Adelaida",
        "last_name": "Crona",
        "profile_id": 16,
        "referral_code": "953059"
      },
      "favourite_id": null,
      "job_name": "Regional Facilitator",
      "kind": "accepted",
      "updated_at": "2025-03-20T10:01:47.142Z"
    },
    {
      "id": 29,
      "chat_id": 65,
      "driver": {
        "id": 98,
        "first_name": "Thad",
        "last_name": "Koelpin",
        "profile_id": 17,
        "referral_code": "078991"
      },
      "favourite_id": 2,
      "job_name": "Regional Facilitator",
      "kind": "accepted",
      "updated_at": "2025-03-20T10:01:47.159Z"
    }
  ]
}