Skip to main content
GET
/
api
/
external
/
companies
/
{companyId}
/
quotes
/
configuration
Get Quotes Configuration
curl --request GET \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/quotes/configuration \
  --header 'Authorization: <api-key>'
{
"policyInfo": {
"data": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"policyDescription": {
"type": "string",
"title": "Policy Description"
},
"effectiveDate": {
"type": "string",
"title": "Effective Date",
"format": "date"
},
"contactEmail": {
"type": "string",
"title": "Contact Email",
"format": "email"
},
"premium": {
"type": "string",
"title": "Annual Premium",
"format": "currency"
},
"coverageTerritory": {
"type": "string",
"title": "Coverage Territory",
"enum": [
"domestic",
"worldwide",
"north_america"
]
}
}
}
}
}

Authorizations

Authorization
string
header
required

Use format: ApiKey <your-api-key>

Path Parameters

companyId
string<uuid>
required

Company identifier

Response

Configuration for quote custom fields

Configuration response for quotes. Structure mirrors the quote request/response shape so consumers can see exactly where to use each schema when creating or updating quotes.

policyInfo
object
required