curl --request GET \
--url https://api.app.fleetit.com/v2/fleets/ \
--header 'Authorization: Bearer <token>'{
"count": 15,
"next": null,
"previous": null,
"results": [
{
"id": 109,
"title": "Fleet XYZ",
"is_active": true,
"regions": [
"Region1",
"Region2"
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
"Tolls",
"Violations"
],
"email": "email@example.com",
"notes": "Detailed notes here"
}
}
]
}Retrieve a list of all fleets in the system.
curl --request GET \
--url https://api.app.fleetit.com/v2/fleets/ \
--header 'Authorization: Bearer <token>'{
"count": 15,
"next": null,
"previous": null,
"results": [
{
"id": 109,
"title": "Fleet XYZ",
"is_active": true,
"regions": [
"Region1",
"Region2"
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
"Tolls",
"Violations"
],
"email": "email@example.com",
"notes": "Detailed notes here"
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Search across fields including title, customer_info.ext_client_id, customer_info.ext_billing_id, and customer_info.email.
Case-insensitive search for fleet title.
Filter by region ID.
Filter fleets based on their active status.
Filter fleets by service type.
Filter fleets by external client ID.
Filter fleets by external billing ID.
Filter fleets by customer email.
Specify the ordering of the results. Can order by title, is_active, etc.
Limit the number of results returned.
The offset for pagination.
Was this page helpful?