v1

latestOpenAPI 3.1.02026-07-24172151607.6 KB
Comments

Create Task Comment

Add a new comment to a task.

post/v2/task/{task_id}/comment

Path parameters

task_idstring required
Example:9hz

Query parameters

custom_task_idsboolean
Example:true

If you want to reference a task by it's custom task id, this value must be true.

team_idnumber
Example:123

When the custom_task_ids parameter is set to true, the Workspace ID must be provided using the team_id parameter.
For example: custom_task_ids=true&team_id=123.

Request body

comment_textstring required
assigneeinteger
group_assigneestring
notify_allboolean required

If notify_all is true, the creator of the comment will also be notified. Other assignees and watchers on the task are always notified regardless of this setting.

Example request

{
  "comment_text": "Task comment content",
  "assignee": 183,
  "group_assignee": "d01f92f-48ca-446d-88a1-0beb0e8f5f14",
  "notify_all": true
}

Response

idstring required
hist_idstring required
dateinteger required

Example response

{
  "id": "458",
  "hist_id": "26508",
  "date": 1568036964079
}