Quotes

Quote Builder's Risk Insurance

POST
/v1/quote/builders-risk

Authorization

AuthorizationBasic <token>

Authorization header with value of Basic <auth string> where the auth string value is a base64 encoded string of <client id>:<client secret>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

*object
email_address*string
Formatemail
email_address_hash?string

SHA-256 hash of normalized email (trimmed + lowercase), represented as a 64-character hex string.

Match^[A-Fa-f0-9]{64}$
state?string

2-character state code. Either state or postal_code is required when requesting a quote.

Length1 <= length
country?string

ISO 3166-1 code

Length2 <= length <= 6
Default"US"

Value in

  • "US"
  • "CA"
  • "AU"
  • "NZ"
  • "GB-SCT"
postal_code?string

Either state or postal_code is required when requesting a quote.

Length1 <= length
first_name*string
Length1 <= length
middle_name?string
last_name*string
Length1 <= length
phone_number?string
Length1 <= length
street?string
Length1 <= length
unit?string

Unit, apartment or suite for the mailing address. Appended to street.

city?string
Length1 <= length
birth_date?string

Required for renters and probate bond products.

Formatdate
?object
[key: string]?string
partner_id?string | null

This field overrides the partner associated with the policy. This is not required as we typically retrieve the partner information off of the provided credentials.

*BuildersRiskPolicyAttributes
*BuildersRiskPolicyAttributes.PropertyDetails
street?string | null
suite_or_unit?string | null
city?string | null
state?string | null
postal_code?string | null
county?string | null
country?Country

Value in

  • "US"
  • "CA"
  • "AU"
longitude?number | null
Formatdouble
latitude?number | null
Formatdouble
*BuildersRiskPolicyAttributes.ProjectDetails
construction_cost?integer

Cost of construction, in cents

Formatint64
Range1 <= value
type*ConstructionType

Value in

  • "FRAME"
  • "MASONRY"
  • "NON_COMBUSTIBLE"
  • "MASONRY_NON_COMBUSTIBLE"
  • "FIRE_RESISTIVE"
category?ProjectCategory

Value in

  • "NEW"
  • "RENOVATION"
square_footage?integer
Formatint32
framing_completed?boolean

Is the framing for the project completed?

intended_occupancy*string

Intended occupancy of the building being constructed or renovated. Defaults to RESIDENTIAL_SINGLE_FAMILY when omitted.

Value in

  • "RESIDENTIAL_SINGLE_FAMILY"
  • "OFFICE_BUILDING"
  • "WAREHOUSE"
  • "APARTMENT_BUILDING"
  • "CONDOMINIUM"
  • "MUNICIPAL_BUILDING"
  • "STRIP_MALL_SHOPPING_CENTER"
  • "GENERAL_RETAIL"
  • "GENERAL_COMMERCIAL"
project_scope?ProjectScope

Scope of renovation work. Required when project category is RENOVATION.

start_date*string
Formatdate
end_date*string
Formatdate
*BuildersRiskPolicyAttributes.BuilderInformation
name*string
street*string

Street address

suite_or_unit?string | null
city*string
state*string
postal_code*string
phone_number*string
email_address*string
fein?string | null

Federal Employer Identification Number, in the format 00-0000000. Required, except when builder business_credit_scores are provided them.

Match^\d{2}-\d{7}$
?array<BuildersRiskPolicyAttributes.BusinessCreditScore> | null

The builder's Experian Intelliscore V2 scores, taken at various times. The latest score is used for underwriting (the lower commercial score, if several share the latest time). Only allowed for partners who have arranged with Vertical Insure to pass this in. For those partners, this field is optional. When omitted, we run our own Experian lookup.

Itemsitems <= 50
?array<BuildersRiskCertificateHolder>
Itemsitems <= 10

Each item:

One of:
entity_type?string

Value in

  • "mortgagee"
  • "bank"
entity_name*string
street*string
suite?string | null
city*string
state*string
postal_code*string
email*string
loan_number*string
years_building*integer

The number of years this builder has been building

Formatint32
loss_history*boolean

Has this builder suffered a loss in the last three years?

insured_type?string

Is the applicant a builder or a contractor?

Value in

  • "HOME_BUILDER"
  • "CONTRACTOR"
quote_id?string

Reference an existing quote. Only required if attempting to update an existing quote.

email_quote?boolean

Send an email to the customer with the quote and option to purchase. Not required.

Defaultfalse
language?string
currency?Currency

Value in

  • "USD"
  • "CAD"
  • "AUD"
  • "NZD"
  • "GBP"
  • "EUR"
  • "CHF"
  • "JPY"

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/quote/builders-risk" \  -H "Content-Type: application/json" \  -d '{    "customer": {      "email_address": "user@example.com",      "first_name": "string",      "last_name": "string"    }  }'
{  "policy_attributes": {    "property": {      "street": "string",      "suite_or_unit": "string",      "city": "string",      "state": "string",      "postal_code": "string",      "county": "string",      "country": "US",      "longitude": 0,      "latitude": 0    },    "project_details": {      "construction_cost": 100000000,      "type": "FRAME",      "category": "NEW",      "square_footage": 0,      "framing_completed": true,      "intended_occupancy": "RESIDENTIAL_SINGLE_FAMILY",      "project_scope": "REMODEL",      "start_date": "2019-08-24",      "end_date": "2019-08-24"    },    "builder": {      "name": "string",      "street": "123 Example St",      "suite_or_unit": "string",      "city": "string",      "state": "MN",      "postal_code": "string",      "phone_number": "string",      "email_address": "string",      "fein": "string",      "business_credit_scores": [        {          "commercial_intelliscore_v2_score": 76,          "fsr_intelliscore_v2_score": 76,          "scored_at": "2019-08-24T14:15:22Z"        }      ]    },    "additional_certificate_holders": [      {        "entity_type": "mortgagee",        "entity_name": "string",        "street": "string",        "suite": "string",        "city": "string",        "state": "string",        "postal_code": "string",        "email": "string",        "loan_number": "string"      }    ],    "years_building": 0,    "loss_history": true,    "insured_type": "HOME_BUILDER"  },  "premium_amount": 1,  "policy_number": "string",  "partner": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_business_name": "string"  },  "policy_documents": [    {      "document_type": "POLICY",      "url": "string"    }  ],  "policy_status": "ACTIVE",  "issued_date": "2019-08-24T14:15:22Z",  "expiration_date": "string",  "effective_date": "string",  "quote_date": "2019-08-24T14:15:22Z",  "product": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "event-participation-cancellation-insurance",    "friendly_name": "string",    "abbreviation": "string",    "enabled": true,    "description": "string",    "peril_heading": "string",    "perils": [      "string"    ],    "descriptors": [      "string"    ],    "promotional_header": "string",    "promotional_description": "string",    "accept_action_text": "string",    "decline_action_text": "string",    "legal_disclaimer": "string",    "privacy_policy_url": "string",    "terms_conditions_url": "string",    "additional_policy_purchase_email_message": "string",    "layout": "string",    "recommended_badge_text": "string",    "carrier_logo_url": "string",    "carrier_name": "string",    "carrier_email": "string",    "carrier_phone": "string",    "claims_url": "string"  },  "endorsement_price_changes": 0,  "subscription_premium": {    "payments_required": 0,    "payment_amount": 0,    "initial_payment_amount": 0,    "can_cancel": true  },  "currency": "USD",  "language": "string",  "total": 0,  "taxes_and_fees": [    {      "amount": 0,      "description": "string",      "type": "fee",      "included_in_premium": true,      "include_in_marketing_share": true,      "refundable": true,      "taxable": true,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "version": 0,  "quote_id": "string",  "offer_id": "d5a7a5b7-a4a3-49e7-9c69-b44d2cbe15cf",  "distribution_channel": "string",  "is_test": true,  "metadata": {    "property1": "string",    "property2": "string"  },  "checkout_url": "string",  "recommendation": {    "message": "string",    "enabled": true  },  "policy_holder": {    "first_name": "string",    "middle_name": "string",    "last_name": "string",    "email_address": "string",    "email_address_hash": "string",    "phone_number": "string",    "street": "string",    "city": "string",    "state": "string",    "postal_code": "string",    "country": "string",    "birth_date": "2019-08-24"  }}
{  "policy_attributes": {    "property": {      "street": "string",      "suite_or_unit": "string",      "city": "string",      "state": "string",      "postal_code": "string",      "county": "string",      "country": "US",      "longitude": 0,      "latitude": 0    },    "project_details": {      "construction_cost": 100000000,      "type": "FRAME",      "category": "NEW",      "square_footage": 0,      "framing_completed": true,      "intended_occupancy": "RESIDENTIAL_SINGLE_FAMILY",      "project_scope": "REMODEL",      "start_date": "2019-08-24",      "end_date": "2019-08-24"    },    "builder": {      "name": "string",      "street": "123 Example St",      "suite_or_unit": "string",      "city": "string",      "state": "MN",      "postal_code": "string",      "phone_number": "string",      "email_address": "string",      "fein": "string",      "business_credit_scores": [        {          "commercial_intelliscore_v2_score": 76,          "fsr_intelliscore_v2_score": 76,          "scored_at": "2019-08-24T14:15:22Z"        }      ]    },    "additional_certificate_holders": [      {        "entity_type": "mortgagee",        "entity_name": "string",        "street": "string",        "suite": "string",        "city": "string",        "state": "string",        "postal_code": "string",        "email": "string",        "loan_number": "string"      }    ],    "years_building": 0,    "loss_history": true,    "insured_type": "HOME_BUILDER"  },  "premium_amount": 1,  "policy_number": "string",  "partner": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_business_name": "string"  },  "policy_documents": [    {      "document_type": "POLICY",      "url": "string"    }  ],  "policy_status": "ACTIVE",  "issued_date": "2019-08-24T14:15:22Z",  "expiration_date": "string",  "effective_date": "string",  "quote_date": "2019-08-24T14:15:22Z",  "product": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "event-participation-cancellation-insurance",    "friendly_name": "string",    "abbreviation": "string",    "enabled": true,    "description": "string",    "peril_heading": "string",    "perils": [      "string"    ],    "descriptors": [      "string"    ],    "promotional_header": "string",    "promotional_description": "string",    "accept_action_text": "string",    "decline_action_text": "string",    "legal_disclaimer": "string",    "privacy_policy_url": "string",    "terms_conditions_url": "string",    "additional_policy_purchase_email_message": "string",    "layout": "string",    "recommended_badge_text": "string",    "carrier_logo_url": "string",    "carrier_name": "string",    "carrier_email": "string",    "carrier_phone": "string",    "claims_url": "string"  },  "endorsement_price_changes": 0,  "subscription_premium": {    "payments_required": 0,    "payment_amount": 0,    "initial_payment_amount": 0,    "can_cancel": true  },  "currency": "USD",  "language": "string",  "total": 0,  "taxes_and_fees": [    {      "amount": 0,      "description": "string",      "type": "fee",      "included_in_premium": true,      "include_in_marketing_share": true,      "refundable": true,      "taxable": true,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "version": 0,  "quote_id": "string",  "offer_id": "d5a7a5b7-a4a3-49e7-9c69-b44d2cbe15cf",  "distribution_channel": "string",  "is_test": true,  "metadata": {    "property1": "string",    "property2": "string"  },  "checkout_url": "string",  "recommendation": {    "message": "string",    "enabled": true  },  "policy_holder": {    "first_name": "string",    "middle_name": "string",    "last_name": "string",    "email_address": "string",    "email_address_hash": "string",    "phone_number": "string",    "street": "string",    "city": "string",    "state": "string",    "postal_code": "string",    "country": "string",    "birth_date": "2019-08-24"  }}
{  "error": "string",  "error_code": "string",  "message": "string",  "reason": "string",  "status": 0}
Empty
{  "error": "string",  "error_code": "string",  "message": "string",  "reason": "string",  "status": 0}