Legacy
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
Update Task (V1)
Path Parameters
ID of the task to update.
Required range:
x >= 1Body
application/json
Task payload.
Description of the task.
Example:
"Send an email to my lead"
ID of the lead this task belongs to.
Example:
563172647619608
Deadline of the task, in milliseconds since Unix epoch (UTC).
Example:
1508580010000
Type of the task.
Available options:
Other, Call, Email, Text Example:
"Call"
Role the task is assigned to.
Available options:
Agent, Assistant Example:
"Agent"
When true on update, the task is marked completed and other fields are ignored.
Example:
true
Response
Task updated successfully. No response body.