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.eyJzdWIiOiIzMyIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MzYyNjM2MCwiZXhwIjoxNzY2MjE4MzYwLCJqdGkiOiI1MDRlOGY1OS01YTY5LTRkNDYtOGQyZi02ZGRhZGQyN2I4OWEifQ.SaGGWahsfCljeQ_hrf-5jdy1sN9K4ln8zzsjm4eNz38
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/"bf16613b15f6ac27d12a9f6359e55f87"
cache-control: max-age=0, private, must-revalidate
x-request-id: 56b63f1e-d568-41db-9de5-986084d16df7
x-runtime: 0.103429
content-length: 763

Body

{
  "blocked_drivers": [
    {
      "id": 12,
      "blocked_at": "2025-11-20T08:12:40.243Z",
      "driver": {
        "id": 36,
        "financial_company_id": null,
        "first_name": "Andre",
        "last_name": "Bayer",
        "profile_id": null,
        "referral_code": "320263"
      },
      "globally_blocked": false,
      "reason": "Quaerat quo consequatur ut."
    },
    {
      "id": 11,
      "blocked_at": "2025-11-20T08:12:40.232Z",
      "driver": {
        "id": 35,
        "financial_company_id": null,
        "first_name": "Bernard",
        "last_name": "Jerde",
        "profile_id": null,
        "referral_code": "972887"
      },
      "globally_blocked": false,
      "reason": "Qui veritatis est tempora."
    },
    {
      "id": 10,
      "blocked_at": "2025-11-20T08:12:40.222Z",
      "driver": {
        "id": 34,
        "financial_company_id": null,
        "first_name": "Hollis",
        "last_name": "Corkery",
        "profile_id": null,
        "referral_code": "697796"
      },
      "globally_blocked": false,
      "reason": "Facilis architecto quae neque."
    }
  ]
}