curl --request POST \
--url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/events \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"eventType": "Claim",
"eventCoverageType": "Professional Liability",
"eventInsureds": [
"550e8400-e29b-41d4-a716-446655440200"
]
}
'{
"id": "550e8400-e29b-41d4-a716-446655440300"
}Create Event
Creates a new Field Model V1 event for the company.
The request body is a flat JSON object where keys are field referenceIds
defined in the company’s field configuration. Use the
Get Configuration endpoint
to discover available fields.
Required base fields: eventType, eventCoverageType, eventInsureds
(array of exposure IDs).
Optional base fields: eventStatus (defaults to Open),
eventReferenceId (auto-generated if omitted), policyId (mapped to the
eventPolicy Join field inside fieldModelV1Data).
Date fields must be submitted as objects: { "date": "YYYY-MM-DD", "timezone": "America/New_York" } — plain date strings are not accepted.
Required permission: company.claim:create or company.incident:create
(determined by eventType)
curl --request POST \
--url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/events \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"eventType": "Claim",
"eventCoverageType": "Professional Liability",
"eventInsureds": [
"550e8400-e29b-41d4-a716-446655440200"
]
}
'{
"id": "550e8400-e29b-41d4-a716-446655440300"
}Authorizations
Body
Flat JSON object with field referenceIds as keys
Was this page helpful?
