Vehicles
The Vehicle object
idstringoptionalPublic vehicle identifier.
internal_idstringoptionalOptional internal identifier.
photo_urlstringoptionalVehicle photo URL.
avatar_urlstringoptionalVehicle avatar URL.
namestringoptionalVehicle display name.
descriptionstringoptionalVehicle description.
driverobjectoptionalAssigned driver, when loaded.
devicesarray of objectsoptionalVehicle devices, when loaded.
makestringoptionalVehicle manufacturer.
modelstringoptionalVehicle model.
model_typestringoptionalVehicle model type.
yearintegeroptionalModel year.
trimstringoptionalVehicle trim.
typestringoptionalVehicle type.
classstringoptionalVehicle class.
colorstringoptionalVehicle color.
serial_numberstringoptionalVehicle serial number.
plate_numberstringoptionalLicense plate number.
call_signstringoptionalVehicle call sign.
vinstringoptionalVehicle identification number.
vin_dataobjectoptionalDecoded VIN data.
specsobjectoptionalVehicle specification data.
detailsobjectoptionalAdditional vehicle detail data.
statusstringoptionalVehicle operational status.
onlinebooleanoptionalWhether the vehicle is online.
slugstringoptionalURL-friendly vehicle slug.
financing_statusstringoptionalVehicle financing status.
measurement_systemstringoptionalMeasurement system used for vehicle metrics.
odometernumberoptionalCurrent odometer reading.
odometer_unitstringoptionalUnit for odometer readings.
fuel_typestringoptionalVehicle fuel type.
payload_capacitynumberoptionalPayload capacity.
towing_capacitynumberoptionalTowing capacity.
seating_capacityintegeroptionalSeating capacity.
weightnumberoptionalVehicle weight.
lengthnumberoptionalVehicle length.
widthnumberoptionalVehicle width.
heightnumberoptionalVehicle height.
currencycurrencyoptionalCurrency for vehicle financial fields.
acquisition_costcurrencyoptionalAcquisition cost.
current_valuecurrencyoptionalCurrent vehicle value.
purchased_attimestampoptionalPurchase timestamp.
lease_expires_attimestampoptionalLease expiration timestamp.
deleted_attimestampoptionalDeletion timestamp when soft deleted.
updated_attimestampoptionalTimestamp when the vehicle was last updated.
created_attimestampoptionalTimestamp when the vehicle was created.
locationobjectoptionalCurrent vehicle coordinates.
headingintegeroptionalCurrent heading in degrees.
altitudeintegeroptionalCurrent altitude.
speedintegeroptionalCurrent speed.
telematicsobjectoptionalTelematics payload.
notesstringoptionalVehicle notes.
metaobjectoptionalAdditional vehicle metadata.
{
"id": "vehicle_7YqM3KpL2n",
"internal_id": "VEH-1001",
"photo_url": null,
"avatar_url": null,
"name": "ABC123",
"description": null,
"driver": null,
"make": "Toyota",
"model": "Camry",
"year": 2023,
"trim": "SE",
"type": "sedan",
"plate_number": "ABC123",
"vin": "1GCGSBEA0G1111111",
"status": "operational",
"online": false,
"payload_capacity": 500,
"location": {
"latitude": 40.7484,
"longitude": -73.9857
},
"heading": 0,
"altitude": 0,
"speed": 0,
"notes": null,
"meta": {},
"updated_at": "2026-05-07T08:30:00.000000Z",
"created_at": "2026-05-07T08:30:00.000000Z"
}/v1/vehiclesCreate a Vehicle
Creates a vehicle for the current company. Send VIN, make/model fields, assignment fields, status, location, capacity, or orchestrator constraints as needed.
vinstringoptionalVehicle identification number.
yearintegeroptionalModel year of the vehicle.
makestringoptionalVehicle manufacturer.
modelstringoptionalVehicle model.
trimstringoptionalVehicle trim or variant.
typestringoptionalVehicle type.
plate_numberstringoptionalVehicle license plate number.
statusenumoptionalVehicle operational status. One of operational, maintenance, decommissioned.
vendorstringoptionalVendor ID to assign to the vehicle.
driverstringoptionalDriver ID to assign this vehicle to after creation.
onlinebooleanoptionalDefault: falseWhether the vehicle is online.
locationobjectoptionalResolvable point used as the vehicle's current location.
latitudenumberoptionalDecimal latitude. Required with longitude.
longitudenumberoptionalDecimal longitude. Required with latitude.
altitudenumberoptionalCurrent altitude.
headingnumberoptionalCurrent heading in degrees.
speednumberoptionalCurrent speed.
payload_capacitynumberoptionalPayload capacity value used by orchestrator assignment.
payload_capacity_volumenumberoptionalPayload volume capacity.
payload_capacity_palletsintegeroptionalPallet capacity.
payload_capacity_parcelsintegeroptionalParcel capacity.
skillsarray of stringsoptionalSkills supported by the vehicle for orchestrator assignment.
max_tasksintegeroptionalMaximum concurrent tasks for orchestrator assignment.
time_window_starttimestampoptionalEarliest time the vehicle is available.
time_window_endtimestampoptionalLatest time the vehicle is available.
return_to_depotbooleanoptionalWhether the vehicle should return to depot after assigned work.
metaobjectoptionalAdditional vehicle metadata.
/v1/vehiclescurl -X POST https://api.fleetbase.io/v1/vehicles \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"vin": "1GCGSBEA0G1111111",
"year": 2023,
"make": "Toyota",
"model": "Camry",
"trim": "SE",
"plate_number": "ABC123",
"status": "maintenance",
"online": false
}'{
"id": "<string>",
"name": "<string>",
"vin": "<string>",
"driver": "<string>",
"photo_url": "<string>",
"make": "<string>",
"model": "<string>",
"year": "<string>",
"trim": "<string>",
"type": "<string>",
"plate_number": "<string>",
"status": "<string>",
"updated_at": "<string>",
"created_at": "<string>"
}/v1/vehiclesQuery Vehicles
This endpoint allows you to query vehicles you have created, it also provides paginated results on all the vehicles in your Fleetbase.
querystringoptionalSearch term matched against vehicle fields.
limitintegeroptionalMaximum number of vehicles to return.
offsetintegeroptionalNumber of vehicles to skip before returning results.
sortstringoptionalSort expression for the vehicle query.
vendorstringoptionalVendor ID used to filter vehicles assigned to a vendor.
/v1/vehiclescurl https://api.fleetbase.io/v1/vehicles?query={{vehicle_name}}&limit=25&offset=0&sort=created_at \
-H "Authorization: Bearer flb_live_…" \
-H "Accept: application/json"{
"id": "<string>",
"name": "<string>",
"vin": "<string>",
"driver": "<string>",
"photo_url": "<string>",
"make": "<string>",
"model": "<string>",
"year": "<string>",
"trim": "<string>",
"type": "<string>",
"plate_number": "<string>",
"vin_data": {
"make": "<string>",
"manufacturer": "<string>",
"plant_country": "<string>",
"product_type": "<string>",
"manufacturer_address": "<string>",
"check_digit": "<string>",
"model_year": "<string>",
"sequential_number": "<string>",
"model": "<string>",
"plant_city": "<string>",
"trim": "<string>",
"plant_state": "<string>",
"body": "<string>",
"number_of_doors": "<string>",
"transmission": "<string>",
"number_of_gears": "<string>",
"engine_displacement_ccm": "<number>",
"engine_model": "<string>",
"engine_power_kw": "<number>",
"series": "<string>",
"fuel_type_primary": "<string>",
"production_stopped": "<number>"
},
"model_data": {
"0_to_100_kph": "<string>",
"body": "<string>",
"co2": "<string>",
"doors": "<number>",
"drive": "<string>",
"engine_bore_mm": "<string>",
"engine_cc": "<number>",
"engine_compression": "<string>",
"engine_cyl": "<number>",
"engine_fuel": "<string>",
"engine_position": "<string>",
"engine_power_ps": "<number>",
"engine_power_rpm": "<number>",
"engine_stroke_mm": "<string>",
"engine_torque_nm": "<number>",
"engine_torque_rpm": "<number>",
"engine_valves_per_cyl": "<number>",
"fuel_cap_l": "<number>",
"length_mm": "<number>",
"lkm_city": "<string>",
"lkm_hwy": "<string>",
"lkm_mixed": "<string>",
"make_display": "<string>",
"seats": "<number>",
"sold_in_us": "<number>",
"top_speed_kph": "<string>",
"transmission_type": "<string>",
"weight_kg": "<number>",
"wheelbase_mm": "<number>",
"width_mm": "<number>"
},
"status": "<string>",
"updated_at": "<string>",
"created_at": "<string>"
}/v1/vehicles/:idRetrieve a Vehicle
Retrieve details for a specific Vehicle.
/v1/vehicles/:idcurl https://api.fleetbase.io/v1/vehicles/:id \
-H "Authorization: Bearer flb_live_…" \
-H "Accept: application/json"{
"id": "<string>",
"name": "<string>",
"vin": "<string>",
"driver": "<string>",
"photo_url": "<string>",
"make": "<string>",
"model": "<string>",
"year": "<string>",
"trim": "<string>",
"type": "<string>",
"plate_number": "<string>",
"vin_data": {
"make": "<string>",
"manufacturer": "<string>",
"plant_country": "<string>",
"product_type": "<string>",
"manufacturer_address": "<string>",
"check_digit": "<string>",
"model_year": "<string>",
"sequential_number": "<string>",
"model": "<string>",
"plant_city": "<string>",
"trim": "<string>",
"plant_state": "<string>",
"body": "<string>",
"number_of_doors": "<string>",
"transmission": "<string>",
"number_of_gears": "<string>",
"engine_displacement_ccm": "<number>",
"engine_model": "<string>",
"engine_power_kw": "<number>",
"series": "<string>",
"fuel_type_primary": "<string>",
"production_stopped": "<number>"
},
"model_data": {
"0_to_100_kph": "<string>",
"body": "<string>",
"co2": "<string>",
"doors": "<number>",
"drive": "<string>",
"engine_bore_mm": "<string>",
"engine_cc": "<number>",
"engine_compression": "<string>",
"engine_cyl": "<number>",
"engine_fuel": "<string>",
"engine_position": "<string>",
"engine_power_ps": "<number>",
"engine_power_rpm": "<number>",
"engine_stroke_mm": "<string>",
"engine_torque_nm": "<number>",
"engine_torque_rpm": "<number>",
"engine_valves_per_cyl": "<number>",
"fuel_cap_l": "<number>",
"length_mm": "<number>",
"lkm_city": "<string>",
"lkm_hwy": "<string>",
"lkm_mixed": "<string>",
"make_display": "<string>",
"seats": "<number>",
"sold_in_us": "<number>",
"top_speed_kph": "<string>",
"transmission_type": "<string>",
"weight_kg": "<number>",
"wheelbase_mm": "<number>",
"width_mm": "<number>"
},
"status": "<string>",
"updated_at": "<string>",
"created_at": "<string>"
}/v1/vehicles/:idUpdate a Vehicle
Updates a vehicle's identity, operational status, vendor assignment, location, capacity, or orchestrator constraints. Updating the VIN refreshes decoded VIN data.
vinstringoptionalVehicle identification number. Updating the VIN refreshes decoded VIN data.
yearintegeroptionalModel year of the vehicle.
makestringoptionalVehicle manufacturer.
modelstringoptionalVehicle model.
trimstringoptionalVehicle trim or variant.
typestringoptionalVehicle type.
plate_numberstringoptionalVehicle license plate number.
statusenumoptionalVehicle operational status. One of operational, maintenance, decommissioned.
vendorstringoptionalVendor ID to assign to the vehicle.
onlinebooleanoptionalDefault: falseWhether the vehicle is online.
locationobjectoptionalResolvable point used as the vehicle's current location.
latitudenumberoptionalDecimal latitude. Required with longitude.
longitudenumberoptionalDecimal longitude. Required with latitude.
altitudenumberoptionalCurrent altitude.
headingnumberoptionalCurrent heading in degrees.
speednumberoptionalCurrent speed.
payload_capacitynumberoptionalPayload capacity value used by orchestrator assignment.
payload_capacity_volumenumberoptionalPayload volume capacity.
payload_capacity_palletsintegeroptionalPallet capacity.
payload_capacity_parcelsintegeroptionalParcel capacity.
skillsarray of stringsoptionalSkills supported by the vehicle for orchestrator assignment.
max_tasksintegeroptionalMaximum concurrent tasks for orchestrator assignment.
time_window_starttimestampoptionalEarliest time the vehicle is available.
time_window_endtimestampoptionalLatest time the vehicle is available.
return_to_depotbooleanoptionalWhether the vehicle should return to depot after assigned work.
metaobjectoptionalAdditional vehicle metadata.
/v1/vehicles/:idcurl -X PUT https://api.fleetbase.io/v1/vehicles/:id \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"plate_number": "ABC123",
"status": "operational",
"latitude": 40.7484,
"longitude": -73.9857,
"speed": 90
}'{
"id": "<string>",
"name": "<string>",
"vin": "<string>",
"driver": "<string>",
"photo_url": "<string>",
"make": "<string>",
"model": "<string>",
"year": "<string>",
"trim": "<string>",
"type": "<string>",
"plate_number": "<string>",
"model_data": {
"0_to_100_kph": "<string>",
"body": "<string>",
"co2": "<string>",
"doors": "<number>",
"drive": "<string>",
"engine_bore_mm": "<string>",
"engine_cc": "<number>",
"engine_compression": "<string>",
"engine_cyl": "<number>",
"engine_fuel": "<string>",
"engine_position": "<string>",
"engine_power_ps": "<number>",
"engine_power_rpm": "<number>",
"engine_stroke_mm": "<string>",
"engine_torque_nm": "<number>",
"engine_torque_rpm": "<number>",
"engine_valves_per_cyl": "<number>",
"fuel_cap_l": "<number>",
"length_mm": "<number>",
"lkm_city": "<string>",
"lkm_hwy": "<string>",
"lkm_mixed": "<string>",
"make_display": "<string>",
"seats": "<number>",
"sold_in_us": "<number>",
"top_speed_kph": "<string>",
"transmission_type": "<string>",
"weight_kg": "<number>",
"wheelbase_mm": "<number>",
"width_mm": "<number>"
},
"vin_data": {
"make": "<string>",
"manufacturer": "<string>",
"plant_country": "<string>",
"product_type": "<string>",
"manufacturer_address": "<string>",
"check_digit": "<string>",
"model_year": "<string>",
"sequential_number": "<string>",
"model": "<string>",
"plant_city": "<string>",
"trim": "<string>",
"plant_state": "<string>",
"body": "<string>",
"number_of_doors": "<string>",
"transmission": "<string>",
"number_of_gears": "<string>",
"engine_displacement_ccm": "<number>",
"engine_model": "<string>",
"engine_power_kw": "<number>",
"series": "<string>",
"fuel_type_primary": "<string>",
"production_stopped": "<number>"
},
"status": "<string>",
"updated_at": "<string>",
"created_at": "<string>"
}/v1/vehicles/:idDelete a Vehicle
Permanently deletes a Vehicle. It cannot be undone.
/v1/vehicles/:idcurl -X DELETE https://api.fleetbase.io/v1/vehicles/:id \
-H "Authorization: Bearer flb_live_…" \
-H "Accept: application/json"{
"deleted": "<boolean>",
"id": "<string>"
}/v1/vehicles/:id/trackTrack Vehicle
latitudenumberoptionalVehicle latitude. When omitted with longitude, Fleetbase returns the current vehicle resource without updating location.
longitudenumberoptionalVehicle longitude. When omitted with latitude, Fleetbase returns the current vehicle resource without updating location.
altitudenumberoptionalCurrent altitude.
headingnumberoptionalCurrent heading in degrees.
speednumberoptionalCurrent speed.
/v1/vehicles/:id/trackcurl -X PATCH https://api.fleetbase.io/v1/vehicles/:id/track \
-H "Authorization: Bearer flb_live_…"