Get current operator company’s blocked drivers
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.eyJzdWIiOiIzMyIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0ODUxNjQ5MywiZXhwIjoxNzUxMTA4NDkzLCJqdGkiOiJmODkwNDUzNS03YjM1LTRmNjYtYTcwMi0xZTViMzcyZmY4ZjkifQ.Jisj4hh2Kq1ODdEeWAXKZoFVCT6MsKU7dH1_wbvVWPc
Host: example.org
Cookie:
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/"cff8e4e5d94a9c7835a71046a4291296"
cache-control: max-age=0, private, must-revalidate
x-request-id: 80b7d3f6-38ed-4fc3-8f2f-32bb3473a137
x-runtime: 0.011428
content-length: 696
Body
{
"blocked_drivers": [
{
"id": 12,
"blocked_at": "2025-05-29T11:01:33.631Z",
"driver": {
"id": 36,
"first_name": "Zane",
"last_name": "Streich",
"profile_id": null,
"referral_code": "208304"
},
"globally_blocked": false,
"reason": "Sit veritatis quia molestiae."
},
{
"id": 11,
"blocked_at": "2025-05-29T11:01:33.621Z",
"driver": {
"id": 35,
"first_name": "Herman",
"last_name": "Treutel",
"profile_id": null,
"referral_code": "230189"
},
"globally_blocked": false,
"reason": "Laudantium placeat enim quia."
},
{
"id": 10,
"blocked_at": "2025-05-29T11:01:33.612Z",
"driver": {
"id": 34,
"first_name": "Charline",
"last_name": "Watsica",
"profile_id": null,
"referral_code": "222680"
},
"globally_blocked": false,
"reason": "Enim tempore exercitationem assumenda."
}
]
}