> ## 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.

# Generate Quote

> Generate renters insurance quotes across providers for a quote ID.

This endpoint generates quotes for a previously created quote ID. The response includes one entry for each eligible provider. Each entry includes the premium, coverage options, and provider-specific quote ID for checkout.

## Headers and parameters

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

X-API-Key

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

X-API-VERSION

## Body

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

Unique identifier for the partner.

**quote\_id** `string` *required*

Quote id returned by the create quote id endpoint.

**promo\_code** `string`

Optional promotional code to apply to the quote.

**tenant\_id** `string`

Optional tenant identifier for multi tenant partners.

```bash cURL theme={"dark"}
curl --request POST \
  --url https://sandbox-api.fletch.co/v1/api/generate-quote \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --header 'X-API-Key: YOUR_API_KEY' \
  --header 'X-API-VERSION: YOUR_API_VERSION' \
  --data '{
  "partner_id": "05d56312-1d92-11ef-8f83-022ba8acf776",
  "promo_code": "",
  "quote_id": "5b9672be-af5a-4a4b-a49c-2931c8175864",
  "tenant_id": ""
}'
```

## Responses

**data.quoteInfo** `array`

List of quotes, one entry per eligible provider.

**data.quoteInfo\[].annual\_premium** `string`

Total annual premium in dollars.

**data.quoteInfo\[].premium** `string`

Premium for the selected billing frequency.

**data.quoteInfo\[].effective\_date** `object`

Allowed effective date range for the policy.

**data.quoteInfo\[].insurance\_options** `object`

Coverage selections applied to this quote.

**data.quoteInfo\[].provider\_details** `object`

Insurance provider metadata such as name, rating, and logo.

**data.quoteInfo\[].provider\_id** `string`

This field identifies the provider. Send this ID to the purchase policy endpoint.

**data.quoteInfo\[].quote\_id** `string`

Provider specific quote id.

**data.quoteInfo\[].terms\_and\_conditions\_url** `string`

URL to the provider's terms and conditions.

```json 200 theme={"dark"}
{
  "data": {
    "quoteInfo": [
      {
        "annual_premium": "119.00",
        "checkout_url": "",
        "effective_date": {
          "current_value": "2025-05-09",
          "max_value": "2025-08-08",
          "min_value": "2025-05-09"
        },
        "fee": {
          "annual_frequency": [],
          "monthly_frequency": [
            {
              "display_name": "Installment Fee",
              "value": "1.00"
            }
          ]
        },
        "fletch_recommended": "False",
        "insurance_options": {
          "deductible": "1000",
          "effective_date": "",
          "loss_of_use": "9000",
          "medical_payments_to_others": "1000",
          "personal_liability": "100000",
          "personal_property": "30000"
        },
        "premium": "10.92",
        "provider_details": {
          "display_name": "Lemonade",
          "has_econsent_endpoint": "",
          "has_purchase_endpoint": "YES",
          "icon_url": "https://sandbox-fletch-assets.fletch.co/lemonade_logo.svg",
          "name": "Lemonade",
          "quote_buy_button_text_main": "Buy",
          "rating": "5.0",
          "rating_json": {
            "rating": "4.4",
            "rating_img": "https://test-fletch-assets.fletch.co/trustpilot-4.5.svg",
            "src": "Trustpilot",
            "src_logo": "https://test-fletch-assets.fletch.co/trustpilot-logo.svg"
          },
          "supported_frequency": [
            "Monthly",
            "Yearly"
          ],
          "tag_line": "",
          "tag_source_url": ""
        },
        "provider_id": "8dd5dc7f-5b2f-11ed-b7b8-022ba8acf776",
        "quote_id": "LQ661E3573",
        "terms_and_conditions_url": "https://monolith-sandbox.public.lmndsandbox.com/terms-of-service?show_header=false"
      }
    ]
  }
}
```

```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.