v1
latestOpenAPI 3.1.02026-07-263788129.7 KBTasks
Update a Task
Updates an existing task by its task_id. Marking a task as DONE or CANCELLED sets completed_at; moving out of those states clears it. Updating account_id is only supported for manually created tasks.
patch/v1/tasks/{task_id}
Path parameters
task_idstring uuid required
Request body
Example request
{
"title": "Send follow-up proposal",
"description": "Send the updated pricing proposal to the procurement team",
"status": "DONE",
"due_at": "2025-07-01T17:00:00Z",
"message_draft": {
"recipients": [
{
"name": "Jane Smith",
"email": "jane@acme.com"
}
],
"cc": [
{
"name": "Jane Smith",
"email": "jane@acme.com"
}
],
"subject": "Pricing follow-up",
"body": "Hi Jane, following up on the proposal we discussed..."
}
}Response
Successful Response
Example response
{
"data": {
"id": "tsk_abc123",
"account_id": "acc_def456",
"opportunity_id": "opp_ghi789",
"title": "Send follow-up proposal",
"description": "Send the updated pricing proposal to the procurement team",
"task_type": "General Action Item",
"assignee": {
"id": "usr_abc123",
"first_name": "Jane",
"last_name": "Smith"
},
"status": "To Do",
"due_at": "2025-07-01T17:00:00Z",
"completed_at": "2025-06-28T11:00:00Z",
"created_at": "2025-06-15T10:30:00Z",
"updated_at": "2025-06-16T10:30:00Z",
"message_draft": {
"recipients": [
{
"name": "Jane Smith",
"email": "jane@acme.com"
}
],
"cc": [
{
"name": "Jane Smith",
"email": "jane@acme.com"
}
],
"subject": "Pricing follow-up",
"body": "Hi Jane, following up on the proposal we discussed..."
}
}
}