Skip to main content
POST
Registers a vehicle once, to quote it as often as needed. Send JSON, or multipart/form-data with the same fields to attach the registration document. See the Vehicles guide.
A vehicle cannot be changed after registration, except its externalId. Quotes are priced on these details.

Body

string
required
auto (car) or bike (motorbike).
string
required
2 to 20 letters, digits or dashes, once spaces are removed. Stored without spaces and uppercased: 1234 ab 01 becomes 1234AB01. Unique within your company.
string
Your own reference for the vehicle, 1 to 255 characters. Unique within your company.
string
required
1 to 100 characters.
string
required
1 to 100 characters.
integer
required
Model year, 1900 to 2100.
string
required
Date of first registration, YYYY-MM-DD, not in the future. Decides the vehicle’s age, and so which coverages it is eligible for.
integer
required
Value when new, in francs CFA.
integer
required
Value today, in francs CFA.
string
required
essence, diesel, electric or hybrid.
integer
required
Fiscal horsepower for a car, cubic capacity for a motorbike.
integer
required
Number of seats, 1 to 100.
file
multipart/form-data only. The registration document (carte grise): PDF, JPEG or PNG, 10 MB at most.

Response

201 Created, with the vehicle.
string
The vehicle’s id, to pass as vehicleId when quoting.
string | null
string
string
As stored: no spaces, uppercased.
string
string
integer
string
integer
integer
string
integer
integer
boolean
Whether a registration document was attached.
string
ISO 8601 timestamp.

Errors