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.eyJzdWIiOiIzMyIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0MjQ2NDkwNCwiZXhwIjoxNzQ1MDU2OTA0LCJqdGkiOiJkNWM0NjhiNC05MjI3LTRkZjAtOGQ5Zi03NTgzMDAxZjU4YWUifQ.8W5RmCbA86o-Y5jQXCZAIx42NVWCnWecEjrpatdxXxw
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/"ed74fe70d407cab22a118e58434e844e"
cache-control: max-age=0, private, must-revalidate
x-request-id: 8dfa2f3d-557d-4a70-a41e-d408957bad94
x-runtime: 0.021265
content-length: 673
Body
{
"blocked_drivers": [
{
"id": 12,
"blocked_at": "2025-03-20T10:01:44.253Z",
"driver": {
"id": 36,
"first_name": "Ike",
"last_name": "Kilback",
"profile_id": null,
"referral_code": "165667"
},
"globally_blocked": false,
"reason": "Impedit accusantium quia quaerat."
},
{
"id": 11,
"blocked_at": "2025-03-20T10:01:44.146Z",
"driver": {
"id": 35,
"first_name": "Lucille",
"last_name": "Mueller",
"profile_id": null,
"referral_code": "743556"
},
"globally_blocked": false,
"reason": "Quos id vitae rerum."
},
{
"id": 10,
"blocked_at": "2025-03-20T10:01:44.092Z",
"driver": {
"id": 34,
"first_name": "Jeffery",
"last_name": "Osinski",
"profile_id": null,
"referral_code": "439868"
},
"globally_blocked": false,
"reason": "Autem quia modi quia."
}
]
}