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