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

> ## Agent Instructions
> Fletch makes insurance products discoverable to and purchasable by AI agents, while the carrier keeps control of product rules, disclosures, consent, and payments. Fletch provides agentic commerce and agentic distribution for insurance, including APIs, an MCP server, a Web SDK, and journeys in assistants such as ChatGPT. Company overview: https://fletch.co/llms.txt. Agentic commerce: https://fletch.co/ai/. Contact: info@fletch.co.

# Create Quote ID

> Create a renters insurance quote ID for a prospect.

This endpoint creates a renters insurance quote ID. Leave `quote_id` blank when you first onboard a prospect. Use the returned ID for later updates to that prospect. The generate quote and purchase policy endpoints require the quote ID.

## Headers and parameters

**X-API-Key** `string` *required*

X-API-Key

**X-API-VERSION** `string` *required*

X-API-VERSION

## Body

**quote\_id** `string`

This field contains an existing quote ID. Leave it blank on the first call. Use the returned ID to customize an existing quote.

**partner\_id** `string` *required*

Unique identifier for the partner.

**tenant\_id** `string`

Optional tenant identifier for multi tenant partners.

**renter\_details** `object` *required*

Primary renter details.

**renter\_details.first\_name** `string` *required*

Renter's first name.

**renter\_details.last\_name** `string` *required*

Renter's last name.

**renter\_details.birth\_date** `string` *required*

Date of birth in MM/DD/YYYY format.

**renter\_details.phone** `string`

Contact phone number.

**renter\_details.email** `string` *required*

Personal email id.

**roommate\_details** `array`

Optional list of roommates to add to the policy.

**address** `object` *required*

Residence address to be insured.

**address.address1** `string` *required*

Street address line 1.

**address.address2** `string`

Street address line 2.

**address.city** `string` *required*

City name.

**address.state** `string` *required*

Uppercase two character state abbreviation.

**address.zip\_code** `string` *required*

Five digit zip code.

**address.country** `string` *required*

Two character country code, for example `US`.

**insurance\_options** `object` *required*

Coverage selections for the quote.

**insurance\_options.personal\_property** `string` *required*

Personal property coverage amount in dollars.

**insurance\_options.personal\_liability** `string` *required*

Personal liability coverage amount in dollars.

**insurance\_options.loss\_of\_use** `string` *required*

Loss of use coverage amount in dollars.

**insurance\_options.medical\_payments\_to\_others** `string` *required*

Medical payments to others coverage amount in dollars.

**insurance\_options.deductible** `string` *required*

Deductible amount in dollars.

**insurance\_options.effective\_date** `string` *required*

Policy effective date in YYYY-MM-DD format.

**utm\_params** `object`

Optional attribution parameters.

```bash cURL theme={"dark"}
curl --request POST \
  --url https://sandbox-api.fletch.co/v1/api/create-quote-id \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --header 'X-API-Key: YOUR_API_KEY' \
  --header 'X-API-VERSION: YOUR_API_VERSION' \
  --data '{
  "quote_id": "",
  "partner_id": "05d56312-1d92-11ef-8f83-022ba8acf776",
  "tenant_id": "",
  "renter_details": {
    "first_name": "Jane",
    "last_name": "Doe",
    "birth_date": "01/15/1990",
    "phone": "(555) 123-4567",
    "email": "jane.doe@example.com"
  },
  "roommate_details": [],
  "address": {
    "address1": "123 William St",
    "address2": "",
    "city": "New York",
    "state": "NY",
    "zip_code": "10038",
    "country": "US"
  },
  "insurance_options": {
    "personal_property": "70000",
    "personal_liability": "100000",
    "loss_of_use": "12000",
    "medical_payments_to_others": "1000",
    "deductible": "1000",
    "effective_date": "2025-05-09"
  },
  "utm_params": {}
}'
```

## Responses

**data** `object`

Result payload.

**data.quote\_id** `string`

Newly created quote id. Use it with the generate quote and purchase policy endpoints.

```json 200 theme={"dark"}
{
  "data": {
    "quote_id": "5b9672be-af5a-4a4b-a49c-2931c8175864"
  }
}
```

```json 401 theme={"dark"}
{
  "errors": {
    "code": "<ERROR_CODE>",
    "message": "<ERROR_MESSAGE>"
  }
}
```


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