curl -X POST https://businessapi-staging-civ.djigui.io/api/v1.0/quote/create \
-H "x-api-key: $DJIGUI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"vehicleId": "0f9b2abd-2fe8-4346-b49e-4a6aefd89a89",
"coverageId": "20000000-0000-4000-8000-000000000001",
"duration": 12,
"usage": "pleasure",
"policyHolderName": "Kouamé Yao Serge",
"policyHolderPhone": "07 57 46 84 58",
"startDate": "2026-11-01"
}'
{
"id": "6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12",
"status": "awaiting_payment",
"contractId": null,
"amount": 98450,
"duration": 12,
"usage": "pleasure",
"startDate": "2026-11-01",
"policyHolderName": "Kouamé Yao Serge",
"policyHolderPhone": "+2250757468458",
"coverageId": "20000000-0000-4000-8000-000000000001",
"coverage": {
"id": "20000000-0000-4000-8000-000000000001",
"name": "Tiers simple",
"description": "Responsabilité civile",
"order": 1,
"properties": [
{ "label": "Responsabilité civile", "description": null },
{ "label": "Défense et recours", "description": null }
]
},
"vehicle": {
"id": "0f9b2abd-2fe8-4346-b49e-4a6aefd89a89",
"externalId": "client-4821-car-1",
"type": "auto",
"licencePlate": "1234AB01",
"brand": "Toyota",
"model": "Corolla",
"year": 2019,
"firstRoadDate": "2019-06-15",
"carOriginalValue": 15000000,
"carMarketValue": 9000000,
"energy": "essence",
"power": 7,
"noSeat": 5,
"hasRegistrationDocument": false,
"created": "2026-10-20T09:14:03.512Z"
},
"created": "2026-10-20T09:16:41.007Z"
}
{
"code": "coverage_not_available",
"message": "The vehicle is too old for this coverage."
}
Quotes
Create a quote
Price a vehicle under a coverage, for a usage, duration and start date.
POST
/
quote
/
create
curl -X POST https://businessapi-staging-civ.djigui.io/api/v1.0/quote/create \
-H "x-api-key: $DJIGUI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"vehicleId": "0f9b2abd-2fe8-4346-b49e-4a6aefd89a89",
"coverageId": "20000000-0000-4000-8000-000000000001",
"duration": 12,
"usage": "pleasure",
"policyHolderName": "Kouamé Yao Serge",
"policyHolderPhone": "07 57 46 84 58",
"startDate": "2026-11-01"
}'
{
"id": "6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12",
"status": "awaiting_payment",
"contractId": null,
"amount": 98450,
"duration": 12,
"usage": "pleasure",
"startDate": "2026-11-01",
"policyHolderName": "Kouamé Yao Serge",
"policyHolderPhone": "+2250757468458",
"coverageId": "20000000-0000-4000-8000-000000000001",
"coverage": {
"id": "20000000-0000-4000-8000-000000000001",
"name": "Tiers simple",
"description": "Responsabilité civile",
"order": 1,
"properties": [
{ "label": "Responsabilité civile", "description": null },
{ "label": "Défense et recours", "description": null }
]
},
"vehicle": {
"id": "0f9b2abd-2fe8-4346-b49e-4a6aefd89a89",
"externalId": "client-4821-car-1",
"type": "auto",
"licencePlate": "1234AB01",
"brand": "Toyota",
"model": "Corolla",
"year": 2019,
"firstRoadDate": "2019-06-15",
"carOriginalValue": 15000000,
"carMarketValue": 9000000,
"energy": "essence",
"power": 7,
"noSeat": 5,
"hasRegistrationDocument": false,
"created": "2026-10-20T09:14:03.512Z"
},
"created": "2026-10-20T09:16:41.007Z"
}
{
"code": "coverage_not_available",
"message": "The vehicle is too old for this coverage."
}
Prices one of your vehicles, as registered, under a coverage. The quote can then be paid until its start date.
You can create as many quotes as you need for the same vehicle: other coverages, durations or usages.
Body
string
required
One of your company’s vehicles.
string
required
A coverage for the vehicle’s type: a car coverage for an
auto, a motorbike coverage for a bike.integer
required
3, 6 or 12 months.string
required
How the vehicle is used under this contract:
pleasure (private and business use) or renting (rental).string
required
The policyholder’s full name, 2 to 150 characters.
string
required
The policyholder’s Ivorian mobile number: 10 digits starting with
01, 05 or 07, with or without +225, spaces allowed. Printed on the ASACI certificate. Returned as +225 followed by the 10 digits.string
required
First day covered,
YYYY-MM-DD, today or later.Response
201 Created, with the quote. Its status is awaiting_payment.
string
string
awaiting_payment, payment_pending, then the contract’s status: pending, started or expired. See Payments.string | null
The contract, once the quote is paid.
integer
The premium for the whole duration, in francs CFA. Wave’s fee is added when paying.
integer
Months.
string
string
string
string | null
+225 followed by 10 digits.string
object | null
object
The vehicle, as in Get a vehicle.
string
ISO 8601 timestamp.
Errors
| Status | code | |
|---|---|---|
| 400 | invalid_request | A field breaks a rule, or startDate is before today. |
| 404 | vehicle_not_found | No vehicle with this id in your company. |
| 404 | coverage_not_found | No vehicle coverage with this id. |
| 422 | coverage_not_available | The coverage is for the other vehicle type, the vehicle is too old for it, or it cannot be priced through this API. message says which. |
curl -X POST https://businessapi-staging-civ.djigui.io/api/v1.0/quote/create \
-H "x-api-key: $DJIGUI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"vehicleId": "0f9b2abd-2fe8-4346-b49e-4a6aefd89a89",
"coverageId": "20000000-0000-4000-8000-000000000001",
"duration": 12,
"usage": "pleasure",
"policyHolderName": "Kouamé Yao Serge",
"policyHolderPhone": "07 57 46 84 58",
"startDate": "2026-11-01"
}'
{
"id": "6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12",
"status": "awaiting_payment",
"contractId": null,
"amount": 98450,
"duration": 12,
"usage": "pleasure",
"startDate": "2026-11-01",
"policyHolderName": "Kouamé Yao Serge",
"policyHolderPhone": "+2250757468458",
"coverageId": "20000000-0000-4000-8000-000000000001",
"coverage": {
"id": "20000000-0000-4000-8000-000000000001",
"name": "Tiers simple",
"description": "Responsabilité civile",
"order": 1,
"properties": [
{ "label": "Responsabilité civile", "description": null },
{ "label": "Défense et recours", "description": null }
]
},
"vehicle": {
"id": "0f9b2abd-2fe8-4346-b49e-4a6aefd89a89",
"externalId": "client-4821-car-1",
"type": "auto",
"licencePlate": "1234AB01",
"brand": "Toyota",
"model": "Corolla",
"year": 2019,
"firstRoadDate": "2019-06-15",
"carOriginalValue": 15000000,
"carMarketValue": 9000000,
"energy": "essence",
"power": 7,
"noSeat": 5,
"hasRegistrationDocument": false,
"created": "2026-10-20T09:14:03.512Z"
},
"created": "2026-10-20T09:16:41.007Z"
}
{
"code": "coverage_not_available",
"message": "The vehicle is too old for this coverage."
}