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"
}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
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
API key authentication. Include your API key in the Authorization header.
Path Parameters
Company identifier
Event identifier
Body
Court case number
Name of the case
Date lawsuit was filed (ISO 8601)
Date suit was served (ISO 8601)
Scheduled trial date (ISO 8601)
Name of the court venue
Address of the court venue
Show child attributes
Show child attributes
Name of the presiding judge
List of plaintiff names
Attorney representing the plaintiff (must reference an existing attorney)
Law firm representing the plaintiff (must reference an existing payee)
Address of the plaintiff
Show child attributes
Show child attributes
Settlement demand amount
Settlement type code (S=Settlement, N=No Settlement, L=Litigated, C=Closed)
Whether arbitration is involved (Yes/No)
Date defense counsel was added (ISO 8601)
Defense expert information
Plaintiff expert information
Date declaratory judgement was filed (ISO 8601)
Response
Lawsuit created
The created lawsuit identifier
Was this page helpful?
