Skip to navigation

Create a task on a board

Creates a task on one work board.

Path parameters

board_idstringRequired

Headers

licenseKeystringRequired
appSecretstringRequired

Request

This endpoint expects an object.
titlestringRequired1-200 characters
Task title
expected_end_datedatetimeRequired

Due instant (ISO datetime with time; date-only rejected)

descriptionstringOptional<=20000 charactersDefaults to
Task description
priorityenumOptional

Priority: low | medium | high | critical

Allowed values:
stage_idstring or nullOptional

Target stage; defaults to board’s first stage when omitted

lead_idstring or nullOptional

Lead this task follows up on (sales boards only)

prospect_idstring or nullOptional

Prospect this task follows up on (sales boards only)

assignee_idslist of stringsOptional
Assignee user ids
start_datedate or nullOptional
Start date
task_typeenumOptional

Task kind: email | call | to_do

Allowed values:
attachmentslist of objectsOptional

Initial attachments (limits: CP_TASK_MAX_ATTACHMENTS, CP_TASK_MAX_ATTACHMENT_BYTES)

template_idslist of stringsOptional

Template ids to apply (copies checklist items)

completed_checklist_item_idslist of stringsOptional

Template checklist item ids to mark done at create. When creating onto a stage whose entry_template_id is included in template_ids, all of that template’s items must be listed here (or already done).

label_idslist of stringsOptional
Label ids
checklistlist of objectsOptional

Optional ad-hoc checklist items

custom_fieldslist of maps from strings to anyOptional

Root FieldCell create: field_id plus exactly one of value | sub_fields | items. Same shape as leads/contacts; omit or [] when none.

noteslist of objectsOptional
Optional notes to create with the task
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

Created
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