curl https://businessapi-staging-civ.djigui.io/api/v1.0/contract/quote/6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12 \
-H "x-api-key: $DJIGUI_API_KEY"
{
"id": "9e2f4b6a-1c3d-4e5f-8a7b-6c5d4e3f2a1b",
"status": "pending",
"policyNumber": "2026.055.401.04217",
"startDate": "2026-11-01",
"endDate": "2027-10-31",
"paymentId": "b4e8a2c6-7d1f-4a3b-9e5c-8f0a1b2c3d4e",
"certificateStatus": "pending",
"quote": {
"id": "6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12",
"amount": 98450,
"duration": 12,
"usage": "pleasure",
"policyHolderName": "Kouamé Yao Serge",
"coverageId": "20000000-0000-4000-8000-000000000001"
},
"vehicle": { "...": "..." },
"certificate": null,
"documents": { "certificateImageUrl": null, "contractDocumentUrl": null },
"created": "2026-10-20T09:19:47.118Z",
"updated": "2026-10-20T09:19:47.118Z"
}
{
"code": "contract_not_found",
"message": "This contract does not exist."
}
Contracts
Get a quote's contract
The contract a quote’s payment opened, found by the quote’s id.
GET
/
contract
/
quote
/
{quoteId}
curl https://businessapi-staging-civ.djigui.io/api/v1.0/contract/quote/6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12 \
-H "x-api-key: $DJIGUI_API_KEY"
{
"id": "9e2f4b6a-1c3d-4e5f-8a7b-6c5d4e3f2a1b",
"status": "pending",
"policyNumber": "2026.055.401.04217",
"startDate": "2026-11-01",
"endDate": "2027-10-31",
"paymentId": "b4e8a2c6-7d1f-4a3b-9e5c-8f0a1b2c3d4e",
"certificateStatus": "pending",
"quote": {
"id": "6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12",
"amount": 98450,
"duration": 12,
"usage": "pleasure",
"policyHolderName": "Kouamé Yao Serge",
"coverageId": "20000000-0000-4000-8000-000000000001"
},
"vehicle": { "...": "..." },
"certificate": null,
"documents": { "certificateImageUrl": null, "contractDocumentUrl": null },
"created": "2026-10-20T09:19:47.118Z",
"updated": "2026-10-20T09:19:47.118Z"
}
{
"code": "contract_not_found",
"message": "This contract does not exist."
}
Returns the contract opened when the quote was paid, with the same fields as Get a contract. Use it when you have the quote’s id but not its
contractId.
Until the quote is paid, this answers 404 contract_not_found.
Response
The contract, with the fields of Get a contract.Errors
| Status | code | |
|---|---|---|
| 404 | contract_not_found | The quote is not paid, or no quote with this id in your company. |
curl https://businessapi-staging-civ.djigui.io/api/v1.0/contract/quote/6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12 \
-H "x-api-key: $DJIGUI_API_KEY"
{
"id": "9e2f4b6a-1c3d-4e5f-8a7b-6c5d4e3f2a1b",
"status": "pending",
"policyNumber": "2026.055.401.04217",
"startDate": "2026-11-01",
"endDate": "2027-10-31",
"paymentId": "b4e8a2c6-7d1f-4a3b-9e5c-8f0a1b2c3d4e",
"certificateStatus": "pending",
"quote": {
"id": "6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12",
"amount": 98450,
"duration": 12,
"usage": "pleasure",
"policyHolderName": "Kouamé Yao Serge",
"coverageId": "20000000-0000-4000-8000-000000000001"
},
"vehicle": { "...": "..." },
"certificate": null,
"documents": { "certificateImageUrl": null, "contractDocumentUrl": null },
"created": "2026-10-20T09:19:47.118Z",
"updated": "2026-10-20T09:19:47.118Z"
}
{
"code": "contract_not_found",
"message": "This contract does not exist."
}