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.eyJzdWIiOiIyNjUiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzgsImV4cCI6MTc2MzU0MjQzOCwianRpIjoiNzIwZDA5YjctOWJhMS00N2NiLTgwOGItNmNiYzhjNzk2MTliIn0.rFB-a3Eu78lzz26WNRZGphvsdOLVDh586aL6VcsqYgU
Host: example.org
Cookie:
Query Parameters
{}=
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
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"973f4a8f9eb734427f098422a3e8babd"
cache-control: max-age=0, private, must-revalidate
x-request-id: fc58e0e2-623e-4cbf-bca0-7ee777b00827
x-runtime: 0.011840
content-length: 47
Body
{
"grouped_by": "day",
"drivers": {
"2025-10-20": 5
}
}