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.eyJzdWIiOiIyNTgiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTYsImV4cCI6MTc0MDE0MzU1NiwianRpIjoiODY4MGY5MjYtZTBkMC00OGZhLWFkYjMtM2YwMWExNDc3ZGM1In0.tq_5VV26Zl2o7BW0LH4dYU3q1yIqcnRRPymnbQPNAf4
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/"1a6e43be17f8635b7ec64ef30241c661"
cache-control: max-age=0, private, must-revalidate
x-request-id: d5e2b1b2-9a73-4dae-898c-5167eda17bf2
x-runtime: 0.014840
content-length: 47
Body
{
"grouped_by": "day",
"drivers": {
"2025-01-22": 5
}
}