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 stringrequired
Registration number of the vehicle
assessment_type stringrequired
Possible values: [pre_purchase, claims]
Type of assessment
images object[]required
image urls of the vehicle
url string
URL of the file
part string
Possible values: [left, right, rear, front, dashboard, vin, plate_number]
Side of the vehicle
Responses
- 201
- 400
- 401
- 422
OK
- application/json
- Schema
- Example (from schema)
Schema
id integer
ID of the assessment
info string
Information about the assessment
{
"id": 0,
"info": "Processing images. Result will be sent via webhooks"
}
Bad request.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "400 Bad Request (Client Error)"
}
Unauthenticated - no valid API key was provided.
- application/json
- Schema
- Example (from schema)
Schema
data string
{
"data": "Invalid Token"
}
Unprocessable Content
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message string
error object
property name* string[]
string
{
"message": "The given data was invalid",
"error": {}
}
Loading...