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": ""
}'
{
"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"
}
]
}
}
{
"errors": {
"code": "<ERROR_CODE>",
"message": "<ERROR_MESSAGE>"
}
}
Renters insurance API
Generate Quote
Generate renters insurance quotes across providers for a quote ID.
POST
https://sandbox-api.fletch.co
/
v1
/
api
/
generate-quote
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": ""
}'
{
"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"
}
]
}
}
{
"errors": {
"code": "<ERROR_CODE>",
"message": "<ERROR_MESSAGE>"
}
}
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
Body
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": [
{
"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"
}
]
}
}
{
"errors": {
"code": "<ERROR_CODE>",
"message": "<ERROR_MESSAGE>"
}
}