Blocked Drivers

Get current operator company’s blocked drivers

GET blocked drivers

Endpoint

GET /api/v1/blocked_drivers

Parameters

Name Description
by_name Search by driver name
by_company Search by company id
by_job_number Search by job number
from_date Search from date
to_date Search to date

Request

Route

GET /api/v1/blocked_drivers

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzMyIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1MzI2NjE2NywiZXhwIjoxNzU1ODU4MTY3LCJqdGkiOiIyYTk0ZWViMS1mMGE4LTQ1Y2ItODM3ZS0yYjRjNzE4NDBlOGUifQ.xYYrddYCFPdTOKqmopDmwlZuyUQ_NNfpQQp1E3REqBc
Host: example.org
Cookie: 

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: 3
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"d92f279cb5ae1ffe5eabf36d2542c9e6"
cache-control: max-age=0, private, must-revalidate
x-request-id: b79d2ecf-4bc0-494e-ad39-bce838a3bb73
x-runtime: 0.013677
content-length: 673

Body

{
  "blocked_drivers": [
    {
      "id": 12,
      "blocked_at": "2025-07-23T10:22:47.943Z",
      "driver": {
        "id": 36,
        "first_name": "Lynwood",
        "last_name": "Hackett",
        "profile_id": null,
        "referral_code": "729010"
      },
      "globally_blocked": false,
      "reason": "Reprehenderit nam quis eaque."
    },
    {
      "id": 11,
      "blocked_at": "2025-07-23T10:22:47.933Z",
      "driver": {
        "id": 35,
        "first_name": "Jazmin",
        "last_name": "Altenwerth",
        "profile_id": null,
        "referral_code": "850534"
      },
      "globally_blocked": false,
      "reason": "Amet quisquam nisi et."
    },
    {
      "id": 10,
      "blocked_at": "2025-07-23T10:22:47.919Z",
      "driver": {
        "id": 34,
        "first_name": "Aurora",
        "last_name": "Kohler",
        "profile_id": null,
        "referral_code": "090159"
      },
      "globally_blocked": false,
      "reason": "Ea omnis ullam aut."
    }
  ]
}