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": {}
}'
{
"data": {
"quote_id": "5b9672be-af5a-4a4b-a49c-2931c8175864"
}
}
{
"errors": {
"code": "<ERROR_CODE>",
"message": "<ERROR_MESSAGE>"
}
}
Renters insurance API
Create Quote ID
Create a renters insurance quote ID for a prospect.
POST
https://sandbox-api.fletch.co
/
v1
/
api
/
create-quote-id
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": {}
}'
{
"data": {
"quote_id": "5b9672be-af5a-4a4b-a49c-2931c8175864"
}
}
{
"errors": {
"code": "<ERROR_CODE>",
"message": "<ERROR_MESSAGE>"
}
}
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
Body
This field contains an existing quote ID. Leave it blank on the first call. Use the returned ID to customize an existing quote.
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": {
"quote_id": "5b9672be-af5a-4a4b-a49c-2931c8175864"
}
}
{
"errors": {
"code": "<ERROR_CODE>",
"message": "<ERROR_MESSAGE>"
}
}