Crash
Get the List of All Accidents
get
/api/v1/accidents
Authorizations
AuthorizationstringRequired
Provide a JWT Bearer
Responses
200
Success
application/json
get
/api/v1/accidents200
Success
Response
Get the List of Accidents by Trip ID
get
/api/v1/trips/{tripId}/accidents
Authorizations
AuthorizationstringRequired
Provide a JWT Bearer
Path parameters
tripIdinteger Β· int64Required
Responses
200
Success
application/json
get
/api/v1/trips/{tripId}/accidents200
Success
Response
Get An Accident by Accident ID
get
/api/v1/accidents/{accidentId}
Authorizations
AuthorizationstringRequired
Provide a JWT Bearer
Path parameters
accidentIdinteger Β· int64Required
Responses
200
Success
application/json
get
/api/v1/accidents/{accidentId}200
Success
Response
Confirm an Accident
post
/api/v1/accidents/{accidentId}/confirm
Authorizations
AuthorizationstringRequired
Provide a JWT Bearer
Path parameters
accidentIdinteger Β· int64Required
Body
isConfirmbooleanOptional
impactDirectioninteger Β· int32[] Β· nullableOptional
Responses
200
Success
application/json
Responseboolean
post
/api/v1/accidents/{accidentId}/confirm200
Success
Request Query Parameters
Direction*
Value
0
1
2
3
4
5
Last updated