Get drivers by month or day
Dashboard
GET drivers
Endpoint
GET /api/v1/dashboard/drivers
Parameters
Name | Description |
---|---|
start_date | Data starting from |
end_date | Data ending at |
Request
Route
GET /api/v1/dashboard/drivers
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyNjUiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTEsImV4cCI6MTc0NTA1NjkxMSwianRpIjoiODgzMzQyZmItMmU2NC00ODc2LTg5NjktZWUzMmQxZGRlZTMwIn0.zSuvjkH7BsmASt9oi1b2WJJzX5BD2-5oCp3Ar7FjryU
Host: example.org
Cookie:
Query Parameters
{}=
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
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"26cc794e288230ffca1ce06f4060178d"
cache-control: max-age=0, private, must-revalidate
x-request-id: d6df9c89-a188-4f07-b843-c660b9c203e8
x-runtime: 0.011525
content-length: 47
Body
{
"grouped_by": "day",
"drivers": {
"2025-03-20": 5
}
}