Accidents
List Accidents
Returns a list of Accidents belonging to your account.
get/accidents
Request
- Base URLhttps://secure.fleetio.com/api
- AuthAPI key in header Authorization and API key in header Account-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
include_archived1
Whether to include Accidents on archived Vehicles.
start_cursorstring
The start cursor for Keyset pagination.
per_pageinteger
The number of records per page to return
The fields, operations, and values to filter the records by.
The fields and direction to sort the results by.
Response
OK
Example response
{
"records": [
{
"occurred_at": "2023-03-14T13:46:27-06:00",
"opened_at": "2023-03-14T13:46:27-06:00",
"closed_at": "2023-03-14T13:46:27-06:00",
"vehicle_archived_at": "2023-03-14T13:46:27-06:00",
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.