> ## Documentation Index
> Fetch the complete documentation index at: https://docs.djigui.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a quote's contract

> The contract a quote's payment opened, found by the quote's id.

Returns the contract opened when the quote was paid, with the same fields as [Get a contract](https://docs.djigui.io/api-reference/contracts/get.md#response). Use it when you have the quote's id but not its `contractId`.

Until the quote is paid, this answers `404 contract_not_found`.

**quoteId** `string` *required*

The quote's id.

## Response

The contract, with the fields of [Get a contract](https://docs.djigui.io/api-reference/contracts/get.md#response).

## Errors

| Status | `code` | |
| - | - | - |
| 404 | `contract_not_found` | The quote is not paid, or no quote with this id in your company. |

```bash cURL theme={null}
curl https://businessapi-staging-civ.djigui.io/api/v1.0/contract/quote/6c1d8f0e-3b7a-4f5e-9a51-2d0c7e8b4a12 \
  -H "x-api-key: $DJIGUI_API_KEY"
```

```json 200 theme={null}
{
  "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"
}
```

```json 404 theme={null}
{
  "code": "contract_not_found",
  "message": "This contract does not exist."
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.