curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/lawsuit \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"id": "550e8400-e29b-41d4-a716-446655440001"
}Lawsuits
Create Lawsuit
Creates a lawsuit for an event. Each event can have at most one lawsuit. Returns 409 Conflict if a lawsuit already exists for the event.
Required permission: company.event:export
POST
/
api
/
external
/
companies
/
{companyId}
/
events
/
{eventId}
/
lawsuit
curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/lawsuit \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"id": "550e8400-e29b-41d4-a716-446655440001"
}Authorizations
Path Parameters
Body
application/json
Was this page helpful?
