Overview
The Quotes APIs enables businesses to request and retrieve insurance quotes dynamically based on customer and product details. This section details how to request a quote and capture purchase intent while emphasizing theadditional_information field, which varies based on the product_type.
Request for Insurance Quote
Submit a request to generate insurance quotes for a specified product type and customer details. Endpoint- URL:
/api/v1/quotes/ - Method:
POST
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
customer_metadata | object | Yes | Customer details including age, location, and personal data. |
insurance_details | object | Yes | Contains product type, name, and additional metadata. |
coverage_preferences | object | No | Custom coverage options such as risk preferences. |
Captures additional product-specific meta-information based on the provided product type Learn more about this field.
additional_information field, within the insurance_details object, dynamically adapts to the selected product_type and must be structured according to the corresponding serializer.The
insurance_option field is an Enum choices field, as seen on our API Reference for Quote Request. For more detailed information, please see Understanding the Insurance Option Fieldinsurance_options field, within the insurance_details object, is a choice from an Enum class that streamlines, policy choice from our ‘featured’ policies. In a sceneraio where, default
flow of getting the insurance quote is needed, please select the string option Other and fire off your request.Understanding additional_information for Different Product Types
The additional_information field contains nested objects relevant to the selected insurance product. This allows us to effectively capture just enough information for our providers and offer the best services for your customers. Below are the expected structures for each product type:
- Health Insurance
- Auto Insurance
- Travel Insurance
- Personal Accident Insurance
- Home Insurance
- Device Insurance
- Cargo/Shipment Insurance
| Field | Type | Required | Description |
|---|---|---|---|
health_condition | string | Yes | Health condition of the applicant |
pre_existing_conditions | list | No | Customer or HMO-provided, known chronic illnesses affecting patient |
age | number | Yes | Applicant’s age |
Capturing Purchase Intent
Creates a new purchase intent for a selected insurance quote.Endpoint
- URL:
/api/v1/quotes/<quote_code>/intent/capture/ - Method:
POST
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
tenure | number | Yes | Unique identifier of the selected quote. |
customer_metadata | object | Yes | Captures essential personal information of the customer as required by our providers. |
Sample Request
RequestExample
