Issues
The Issue object
idstringoptionalPublic issue identifier.
assigneeobjectoptionalUser assigned to the issue, when loaded.
reporterobjectoptionalUser who reported the issue, when loaded.
vehicleobjectoptionalVehicle associated with the issue, when loaded.
driverobjectoptionalDriver associated with the issue, when loaded.
issue_idstringoptionalHuman-friendly issue identifier.
titlestringoptionalIssue title.
reportstringoptionalIssue report text.
prioritystringoptionalIssue priority.
metaobjectoptionalAdditional issue metadata.
typestringoptionalIssue type.
categorystringoptionalIssue category.
tagsarray of stringsoptionalTags associated with the issue.
statusstringoptionalIssue status.
locationobjectoptionalLocation where the issue was reported.
resolved_attimestampoptionalTimestamp when the issue was resolved.
updated_attimestampoptionalTimestamp when the issue was last updated.
created_attimestampoptionalTimestamp when the issue was created.
{
"id": "issue_8Qw2YxM3Nf",
"driver_name": "Alex Driver",
"vehicle_name": "ABC123",
"issue_id": "ISS-1001",
"title": null,
"report": "Flat tire near the pickup location.",
"priority": "high",
"meta": {},
"type": "vehicle",
"category": "maintenance",
"tags": [],
"status": "open",
"location": {
"latitude": 1.3521,
"longitude": 103.8198
},
"resolved_at": null,
"updated_at": "2026-05-07T08:30:00.000000Z",
"created_at": "2026-05-07T08:30:00.000000Z"
}/v1/issuesCreate an Issue
Create an Issue
driverstringrequiredDriver ID reporting the issue.
locationobjectrequiredLocation where the issue was reported.
reportstringrequiredIssue report text submitted by the caller.
categorystringoptionalCategory used to classify the issue.
typestringoptionalIssue type.
prioritystringoptionalPriority level for the issue.
/v1/issuescurl -X POST https://api.fleetbase.io/v1/issues \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-d '{
"driver": "{{driver_id}}",
"location": {
"latitude": 1.3521,
"longitude": 103.8198
},
"report": "Vehicle tire pressure warning",
"category": "vehicle",
"type": "maintenance",
"priority": "medium",
"status": "open"
}'/v1/issuesQuery Issues
Query Issues
limitintegeroptionalMaximum number of issues to return.
offsetintegeroptionalNumber of issues to skip before returning results.
sortstringoptionalSort expression for the issue query.
driverstringoptionalFilters issues by driver ID.
vehiclestringoptionalFilters issues by vehicle ID.
statusstringoptionalFilters issues by status.
/v1/issuescurl https://api.fleetbase.io/v1/issues?limit=25&offset=0&sort=created_at \
-H "Authorization: Bearer flb_live_…"/v1/issues/:idRetrieve an Issue
Retrieve an Issue
/v1/issues/:idcurl https://api.fleetbase.io/v1/issues/:id \
-H "Authorization: Bearer flb_live_…"/v1/issues/:idUpdate an Issue
Update an Issue
reportstringrequiredIssue report text submitted by the caller.
categorystringoptionalCategory used to classify the issue.
typestringoptionalIssue type.
prioritystringoptionalPriority level for the issue.
/v1/issues/:idcurl -X PUT https://api.fleetbase.io/v1/issues/:id \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-d '{
"report": "Updated issue report",
"category": "vehicle",
"type": "maintenance",
"priority": "high",
"status": "resolved"
}'/v1/issues/:idDelete an Issue
Delete an Issue
/v1/issues/:idcurl -X DELETE https://api.fleetbase.io/v1/issues/:id \
-H "Authorization: Bearer flb_live_…"