- Exposures are entities (individuals or organizations) covered by insurance policies
- Each exposure has a name and entityType that classify them
- Exposures can be associated with policies and events
- Deleting an exposure performs a soft delete (the record is marked as deleted but retained)
API Endpoints
- List Exposures - Retrieve paginated list of exposures with filtering and sorting
- Get Exposure - Retrieve a single exposure by ID
- Create Exposure - Create a new exposure
- Update Exposure - Update an existing exposure
- Delete Exposure - Soft delete an exposure by ID
Exposure Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | uuid | - | Exposure identifier (returned in responses) |
name | string | Yes | Name of the exposure |
entityType | string | Yes | Entity type (e.g., “individual”, “organization”, “dealership”) |
email | string | No | Exposure email address |
phoneNumber | string | No | Exposure phone number |
billingEmail | string | No | Billing email address |
defaultBrokerId | uuid | No | Default broker ID for this exposure |
policyIds | uuid[] | - | IDs of associated policies (returned in list responses) |
createdAt | datetime | - | When the exposure was created |
Filtering and Sorting (List)
Filter Parameters
| Parameter | Type | Description |
|---|---|---|
id | uuid or uuid[] | Filter by exposure ID (single or array) |
entityType | string | Filter by entity type |
filterText | string | Text search across exposure name |
Sorting Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
sortBy | string | createdAt | Field to sort by (createdAt, name, entityType) |
sortDirection | string | desc | Sort direction (asc or desc) |
Permissions
Access to exposures requires the appropriate permissions based on your API key:| Operation | Required Permission |
|---|---|
| List Exposures | company.insured:read |
| Get Exposure | company.insured:read |
| Create Exposure | company.insured:create |
| Update Exposure | insured:update |
| Delete Exposure | insured:delete |
