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.eyJzdWIiOiIzMyIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MDk1MDQzMSwiZXhwIjoxNzYzNTQyNDMxLCJqdGkiOiI3YWExNzk0Ny1lOWM2LTQ4ZTQtOWI0Ny1kM2U4Njc5NzM1YjEifQ.4xuUdzsrRVZFZOTV7X3wZg7tNoz4zYepVcdLorxJjwg
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/"8b16e7c374637bb8e3d645f3ed63ef38"
cache-control: max-age=0, private, must-revalidate
x-request-id: 28cd5d15-6b9c-4b4a-84a6-d0a7dfc0d739
x-runtime: 0.065777
content-length: 669

Body

{
  "blocked_drivers": [
    {
      "id": 12,
      "blocked_at": "2025-10-20T08:53:51.005Z",
      "driver": {
        "id": 36,
        "first_name": "Renata",
        "last_name": "O'Connell",
        "profile_id": null,
        "referral_code": "520436"
      },
      "globally_blocked": false,
      "reason": "Fuga aperiam rerum iste."
    },
    {
      "id": 11,
      "blocked_at": "2025-10-20T08:53:50.995Z",
      "driver": {
        "id": 35,
        "first_name": "Maragaret",
        "last_name": "Kuvalis",
        "profile_id": null,
        "referral_code": "042829"
      },
      "globally_blocked": false,
      "reason": "Ipsum nesciunt quibusdam aut."
    },
    {
      "id": 10,
      "blocked_at": "2025-10-20T08:53:50.987Z",
      "driver": {
        "id": 34,
        "first_name": "Keith",
        "last_name": "Abbott",
        "profile_id": null,
        "referral_code": "570593"
      },
      "globally_blocked": false,
      "reason": "In et qui et."
    }
  ]
}