Assists and Coverages

See how to quote assists and coverages in an appropriate manner. This resources are important to determine the value of the quote itself.

At this point, you may have in your integration flow a quote_request like this, containing a list of assists and/or coverages available to quote:

{
  ...
  "assists": [],
  "coverages": []
}

Assist spec from Quote Request

The assist returned from quote request has a JSON structured like this:

ParameterDescription
idThe ID of the Assist
nameAssist name
descriptionAssist description
optionsList of options
options.idThe ID of the Assist Option
options.nameOption name
options.descriptionOption description
{
  "id": "string",
  "name": "string",
  "description": "string",
  "options": [
    {
      "id": "string",
      "name": "string",
      "description": "string"
    }
  ]
}

Coverage spec from Quote Request

The coverage returned from quote request has a JSON structured like this:

ParameterDescription
idThe ID of the Coverage
nameCoverage name
descriptionCoverage description
defaultDefault value for this coverage determined by insurer
rangeList of available range values for coverage amount
multipleIf the coverage allows the use multiple times
requiredIf the coverage is required for quote
coveragesNested coverages that can be used if the parent one is in use
{
  "id": "string",
  "name": "string",
  "description": "string",
  "default": "string",
  "range": [
    0, 1, 2
  ],
  "multiple": false,
  "required": false,
  "coverages": []
}

Use Assists at Quote

Given a quote_request allowing you to use assists, you can send a body at quote the JSON structured like this:

ParameterDescription
items.assistsList of Assists to useOptional
items.assists.idThe ID of the AssistRequired
items.assists.assistance_option_idThe ID of the Assist OptionRequired
{
  "items": [
    {
      ...
      "assists": [
        {
          "id": "string",
          "assistance_option_id": "string"
        }
      ]
    }
  ]
}

Use Coverages at Quote

Given a quote_request allowing you to use coverages, you can send a body at quote the JSON structured like this:

ParameterDescription
items.coveragesList of Coverages to useOptional
items.coverages.idThe ID of the CoverageRequired
items.coverages.coverage_option_idThe ID of the Coverage OptionOptional
items.coverages.insured_amountInsured amount in centsOptional
items.coverages.valueThe appropriated value as stringOptional

insured_amount and value parameters from coverages can vary depending on which type of insurance product your are quoting. See insurer appropriated documentation values for each product.

coverage_option_id parameter must be used when the coverage has options available.

{
  "items": [
    {
      ...
      "coverages": [
        {
          "id": "string",
          "coverage_option_id": "string",
          "value": "string",
          "insured_amount": 0
        }
      ]
    }
  ]
}