- Quotes are associated with a submission
- Quotes progress through various statuses from creation to binding
- Quotes contain policy information (
policyInfo) with coverage details and custom data - When bound, quotes become policies
API Endpoints
- List Quotes - Retrieve paginated list of quotes with filtering and sorting
- Create Quote - Create a new quote
- List Quote Info - Retrieve lightweight quote information (faster for dashboards)
- Get Quote - Retrieve a single quote by ID with full details
- Delete Quote - Soft delete a quote
- Get Quotes Configuration - Retrieve JSON Schema for quote custom fields
Quote Status
Quotes progress through the following statuses:| Status | Description |
|---|---|
in_progress | Quote is being prepared |
complete | Quote is complete and ready to send |
sent | Quote has been sent to the applicant |
accepted | Quote has been accepted by the applicant |
bound | Quote has been bound and converted to a policy |
cancelled | Quote has been cancelled |
archived | Quote has been archived |
applied_to_policy | Quote has been applied to an existing policy |
Policy Information
Quotes contain apolicyInfo object with policy-level details:
Custom Data
ThepolicyInfo.data field contains custom data specific to your company’s configuration. This allows you to store and retrieve company-specific information about quotes and policies.
Important: The data field uses field keys (human-readable names) instead of field IDs (UUIDs).
Field Configuration
Custom data fields are configured per company in AI Insurance. To see which fields are available for quotes, use the Get Quotes Configuration endpoint. The response structure mirrors the quote request shape, making it clear where each schema applies:policyInfo.data schema is a standard JSON Schema (draft 2020-12) that you can use directly with validation libraries like Ajv or Zod.
See JSON Schema Format Types for the list of supported format values.
Filtering and Sorting
List endpoints support comprehensive filtering and sorting options:Filter Parameters
| Parameter | Type | Description |
|---|---|---|
submissionId | string | Filter by submission ID (UUID) |
applicationId | string | Filter by application ID (UUID) |
status | string or array | Filter by quote status |
filterText | string | Text search across quote fields |
dateFrom | string | Filter quotes created on or after this date |
dateTo | string | Filter quotes created on or before this date |
Sorting Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
sortBy | string | createdAt | Field to sort by (createdAt, updatedAt, status, number) |
sortDirection | string | desc | Sort direction (asc or desc) |
Pagination
| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number (1-based, page size 50) |
items- Array of quotes for the current pagetotalCount- Total number of matching quotes across all pages
Permissions
Access to quotes requires the appropriate permissions based on your API key:| Operation | Required Permission |
|---|---|
| List Quotes | company.quote:read |
| Get Quote | company.quote:read |
| Create Quote | company.quote:create |
| Delete Quote | company.quote:delete |
| Get Configuration | company.quote:read |
