Overview
This document describes the REST API endpoints for managing submissions and their associated quotes in the AI Insurance platform.Base URL
All endpoints are relative to your AI Insurance instance base URL.Authentication
API requests require proper authentication. Include your API key in the request headers:To generate an API key, see Generating API Keys.
API Endpoints
Submissions API
- List Submissions - Retrieve submissions for a company
- Create Submission - Create a new submission
- Update Submission - Update an existing submission
Quotes API
- List Quotes - Retrieve quotes for a submission
- Get Quote - Get detailed quote information
Configuration
- Get Configuration - Retrieve company configuration including rating fields, entity types, and coverage options
Data Models
- Data Models - Complete reference for all data structures used in the API
Data Models Reference
The API uses several data models for requests and responses:- ImportPolicy - Policy information for submissions
- ImportPolicyCoverage - Coverage data for policies
- ImportInsured - Insured party information
- Submission - Submission response object
- Quote - Quote response object
Using Configuration Response in Submissions and Quotes API
Below we have an example configuration JSON. Configuration files may be very long, so saving the configuration to a file viewer will be very helpful. As noted above, each configuration will have 4 objects:ratingEngineFieldsnonRatingFieldsinsuredEntityTypesenabledCoverageTypes
Configuration Object
ratingEngineFields
TheratingEngineFields object is an array consisting of several child objects.
Each child object contains a fieldId, entityType, companyId, and object field.
Each object in the array represents rating data that can be added to submissions, based on the entityType.
Child objects with the entityType policies can be added to the ratingData dictionary in the ImportPolicy object.
All other child objects can be added to the applicationData dictionary in a [ImportInsured(/submissions-and-quotes/api/data-models#importinsured-object)] object.
| Key | Type | Description |
|---|---|---|
fieldId | string (UUID) | Unique identifier for the rating field |
entityType | enum | The type of the rating field. Will be of type policies or one of insuredEntityTypes |
companyId | string (UUID) | Unique identifier for the current company |
field | dictionary | An object representing different types of metadata |
ratingEngineFields Object
nonRatingFields
ThenonRatingFields object is a dictionary with the sub-dictionaries policies, insureds, and events within it. Each sub-dictionary is structured similarly to ratingEngineFields.
However, the entityType of each child object in a sub-dictionary will be the same value as the key of the sub-dictionary. So any child object within the policies sub-dictionary will have entityType = "policies".
Object data from the policies sub-dictionary can be added to the policyCompanyEntityFields dictionary in the ImportPolicy object.
Object data from the insureds and events sub-dictionaries can be added to the insuredCompanyEntityFields dictionary of an ImportInsured object.
| Key | Type | Description |
|---|---|---|
policies | dictionary | A dictionary where entityType = "policies" |
insureds | dictionary | A dictionary where entityType = "insureds" |
events | dictionary | A dictionary where entityType = "events" |
nonRatingFields Object
insuredEntityTypes
TheinsuredEntityTypes object is a dictionary containing sub-dictionaries. These sub-dictionaries are defined based on your configuration but all have the same schema.
insured sub-dictionary schema
entityType which may be referenced by one or more ratingEngineFields objects.
enabledCoverageTypes
TheenabledCoverageTypes object is a dictionary containing sub-dictionaries. These sub-dictionaries are defined based on your configration but all have the same schema.
coverage sub-dictionary schema
name can be used as coverageTypeId in a ImportPolicyCoverage child object.
Changelog
Version 0.1.0 (Alpha) - 8/8/2025
- Support for submission creation
- Support for submission update (adding a quote to an existing submission)
- Support for retrieving company configuration
Version 0.0.0 (Alpha)
- Initial API documentation
- Support for submissions and quotes listing
- API Key authentication
