curl --request PATCH \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/lawsuit \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"caseName": "Smith v. Jones Insurance Co. (Amended)",
"settlementDemand": "500000"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440001",
"companyId": "660e8400-e29b-41d4-a716-446655440000",
"eventId": "770e8400-e29b-41d4-a716-446655440000",
"caseNumber": "CASE-2026-001",
"caseName": "Smith v. Jones Insurance Co. (Amended)",
"lawsuitFiledDate": "2026-01-10T00:00:00.000Z",
"suitServedDate": null,
"trialDate": null,
"venueName": "District Court of Springfield",
"venueAddress": null,
"judgeName": null,
"plaintiffs": null,
"plaintiffAttorneyId": null,
"plaintiffLawFirmId": null,
"plaintiffAddress": null,
"settlementDemand": "500000",
"settlementType": null,
"arbitrationInvolved": null,
"dateDefenseCounselAdded": null,
"expertDefense": null,
"expertPlaintiff": null,
"declaratoryJudgementFiledDate": null,
"createdAt": "2026-01-10T10:30:00.000Z",
"updatedAt": "2026-02-17T14:20:00.000Z"
}Lawsuits
Update Lawsuit
Updates the lawsuit for an event. Only provided fields are updated.
Send null for a field to clear its value. Omit a field to preserve its existing value.
Required permission: company.event:export
PATCH
/
api
/
external
/
companies
/
{companyId}
/
events
/
{eventId}
/
lawsuit
curl --request PATCH \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/lawsuit \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"caseName": "Smith v. Jones Insurance Co. (Amended)",
"settlementDemand": "500000"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440001",
"companyId": "660e8400-e29b-41d4-a716-446655440000",
"eventId": "770e8400-e29b-41d4-a716-446655440000",
"caseNumber": "CASE-2026-001",
"caseName": "Smith v. Jones Insurance Co. (Amended)",
"lawsuitFiledDate": "2026-01-10T00:00:00.000Z",
"suitServedDate": null,
"trialDate": null,
"venueName": "District Court of Springfield",
"venueAddress": null,
"judgeName": null,
"plaintiffs": null,
"plaintiffAttorneyId": null,
"plaintiffLawFirmId": null,
"plaintiffAddress": null,
"settlementDemand": "500000",
"settlementType": null,
"arbitrationInvolved": null,
"dateDefenseCounselAdded": null,
"expertDefense": null,
"expertPlaintiff": null,
"declaratoryJudgementFiledDate": null,
"createdAt": "2026-01-10T10:30:00.000Z",
"updatedAt": "2026-02-17T14:20:00.000Z"
}Authorizations
Path Parameters
Body
application/json
Response
Updated lawsuit details
A lawsuit associated with an event
Was this page helpful?
