curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/lawsuit/defendants \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"insuredId": "aa0e8400-e29b-41d4-a716-446655440000"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440001"
}Defendants
Create Defendant
Creates a defendant for a lawsuit. A lawsuit must exist for the given event.
Each defendant must have either an insuredId or a nonInsuredName (not both).
Required permission: company.event:export
POST
/
api
/
external
/
companies
/
{companyId}
/
events
/
{eventId}
/
lawsuit
/
defendants
curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/lawsuit/defendants \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"insuredId": "aa0e8400-e29b-41d4-a716-446655440000"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440001"
}Authorizations
Path Parameters
Body
application/json
Was this page helpful?
