Skip to navigation

Update a task

Updates the fields you send on one task.

Path parameters

task_idstringRequired

Headers

licenseKeystringRequired
appSecretstringRequired

Request

This endpoint expects an object.
titlestring or nullOptional1-200 characters
Task title
descriptionstring or nullOptional<=20000 characters
Task description
priorityenum or nullOptional
Task priority
Allowed values:
stage_idstring or nullOptional
Target stage id
lead_idstring or nullOptional

Link to a lead (sales boards only); send null to unlink

prospect_idstring or nullOptional

Link to a prospect (sales boards only); send null to unlink

assignee_idslist of strings or nullOptional
Assignee user ids
start_datedate or nullOptional
Start date
expected_end_datedatetime or nullOptional

Due instant when set (ISO datetime with time); omit to leave unchanged; null/date-only rejected

task_typeenum or nullOptional

Task kind: email | call | to_do

Allowed values:
sort_orderinteger or nullOptional>=0
Position within stage
template_idslist of strings or nullOptional
Linked template ids
label_idslist of strings or nullOptional
Label ids
attachmentslist of objects or nullOptional

Replace attachments list when provided (limits: CP_TASK_MAX_ATTACHMENTS, CP_TASK_MAX_ATTACHMENT_BYTES)

checklistlist of objects or nullOptional

Replace ad-hoc checklist when provided

custom_fieldslist of maps from strings to any or nullOptional

Root FieldCell patch (same shape as leads/contacts); omit to leave unchanged

noteslist of objects or nullOptional

Append notes when provided (does not replace existing notes)

commentstring or nullOptional<=500 characters

Reason / comment logged with start/end date changes (timeline + end_date_history)

eta_hoursdouble or nullOptional>=0
Optional estimated effort in hours for the task
actual_completion_hoursdouble or nullOptional>=0

Optional actual effort in hours (cleared when leaving terminal stage)

Response

OK
statusstring
Response status
messagestring

Human-readable success message

statusCodeinteger
HTTP status code
codestring
Custom application status code
datamap from strings to any or list of any or string or double or boolean or nullOptional
Payload for this endpoint

Errors

422
Unprocessable Entity Error