Skip to main content

Overview

The Exposure Types API lets you manage the categories of insured entities (exposure types) available to a company. Exposure types define what kinds of exposures can be created — for example, “Franchise Truck Dealer”, “Auto”, or “Company”. Each exposure type has a unique value (used as a programmatic identifier) and a label (displayed in the UI).

API Endpoints

MethodEndpointDescription
POST/exposure-typesCreate a new exposure type

Permissions

ActionPermission
Create exposure typecompany:update

Request Properties

PropertyTypeRequiredDescription
valuestringYesUnique identifier for the exposure type (e.g., "franchise_truck_dealer")
labelstringYesHuman-readable display name (e.g., "Franchise Truck Dealer")

Example

curl -X POST \
  https://app.aiinsurance.io/api/external/companies/{companyId}/exposure-types \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "value": "franchise_truck_dealer",
    "label": "Franchise Truck Dealer"
  }'
Response:
{
  "id": "550e8400-e29b-41d4-a716-446655440003"
}