Create a new vehicle assessment
POST/v1/vehicle-assessments
Upload the images of the vehicle and get the assessment via webhooks
Request
- application/json
Body
required
- Array [
- ]
Registration number of the vehicle. Not required when fleet_vehicle_id is present. The stored fleet vehicle registration takes precedence.
Integer fleet vehicle ID returned by the add vehicles endpoint. The vehicle must belong to the authenticated insurer and can only be used for a pre-policy assessment.
Possible values: [pre-policy, post-loss]
Type of assessment
Required when assessment_type is post-loss. ID of the pre-policy assessment.
images object[]required
Possible values: >= 1
Image URLs of the vehicle. Invalid front, rear, left, and right images return the standard validation response with the image reason appended to each part message.
URL of the file
Possible values: [left, right, rear, front, dashboard, vin-plate, license-plate, video]
Side of the vehicle
Responses
- 200
- 400
- 401
- 422
OK
- application/json
- Schema
- Example (from schema)
Schema
ID of the pre-policy assessment
Fleet vehicle ID. Returned only when the assessment is for a fleet vehicle.
Public fleet ULID. Returned only when the assessment is for a fleet vehicle.
ID of the post-loss assessment
ID of the claim created for a post-loss assessment
Information about the assessment
{
"id": 0,
"fleet_vehicle_id": 4812,
"fleet_id": "01JZ7M5BCW8T2W4QWR5SN1MMBQ",
"assessment_id": 0,
"claim_id": 0,
"info": "Processing images. Updates will be sent via webhooks."
}
Bad request.
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "400 Bad Request (Client Error)"
}
Unauthenticated - no valid API key was provided.
- application/json
- Schema
- Example (from schema)
Schema
{
"data": "Invalid Token"
}
Unprocessable Content
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
error object
property name* string[]
string
{
"message": "The given data was invalid",
"error": {}
}