v1
latestOpenAPI 3.0.12026-07-22120163333.7 KBTasks & Appointments
Update Task (V1)
Partially updates an existing task. Fields not supplied are left unchanged.
Notes:
- When finishFlag is true, the task is marked completed and all other fields are ignored. Completion is rejected for smart-plan tasks (TASK_IS_SMARTPLAN).
- When leadId is supplied, it must match the task's existing lead; otherwise 400 INVALID_UPDATE_OPERATION_LEADID.
- At least one field must be supplied; an entirely empty payload returns 400 MISSING_PARAMETER.
- Caller must have manage permission on the task's lead.
- The response body is empty.
put/v1.0/tasks/{taskId}
Path parameters
taskIdinteger required
ID of the task to update.
Headers
Authorizationstring required
Bearer [access_token]
Content-Typestring required
application/json
Request body
Example request
{
"content": "Send an email to my lead",
"leadId": 563172647619608,
"deadline": 1508580010000,
"type": "Call",
"assignedRole": "Agent",
"finishFlag": true
}Response
Task updated successfully. No response body.