curl --request PATCH \
--url https://go.aiinsurance.io/api/v1/companies/{companyId}/tasks/{taskId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "Complete"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440300",
"name": "Review updated claim documents",
"description": "Confirm all loss-run reports are attached",
"status": "Complete",
"deadline": "2026-07-01T17:00:00.000Z",
"entity": {
"type": "Claim",
"id": "550e8400-e29b-41d4-a716-446655440100",
"name": "Claim #1042"
},
"assignees": [
"550e8400-e29b-41d4-a716-446655440999"
],
"createdBy": "550e8400-e29b-41d4-a716-446655440999",
"createdAt": "2026-06-01T10:30:00.000Z",
"updatedAt": "2026-06-02T14:00:00.000Z"
}Update Task
Changes a to-do (task): mark it Complete, move its deadline, reassign
it, or edit its name or description. Get the id from List Tasks
(listTasks).
Partially updates a task. Send only the fields you want to change — omitted fields are left unchanged.
assignees, when provided, replaces the existing assignee list and must
reference users in the same company — a non-member user ID is rejected with
a 400 error. List Company Members returns the IDs of the company’s
members.
Required permission: task.edit
curl --request PATCH \
--url https://go.aiinsurance.io/api/v1/companies/{companyId}/tasks/{taskId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "Complete"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440300",
"name": "Review updated claim documents",
"description": "Confirm all loss-run reports are attached",
"status": "Complete",
"deadline": "2026-07-01T17:00:00.000Z",
"entity": {
"type": "Claim",
"id": "550e8400-e29b-41d4-a716-446655440100",
"name": "Claim #1042"
},
"assignees": [
"550e8400-e29b-41d4-a716-446655440999"
],
"createdBy": "550e8400-e29b-41d4-a716-446655440999",
"createdAt": "2026-06-01T10:30:00.000Z",
"updatedAt": "2026-06-02T14:00:00.000Z"
}Authorizations
Path Parameters
Body
Any subset of the task's mutable fields
Company user IDs to assign the task to, replacing the existing list: member ids from List Company Members.
Response
Task updated successfully
A task entity.
Company user IDs the task is assigned to; List Company Members resolves them to names.
