Task Comments
Get comments
Section titled “ Get comments ” GET
v3/projects/23423233/todolists/13964085/tasks/13966758/comments
returns all comments for the specified task.
[
{
"id": 30438075,
"description": "Task is currently in progress",
"created_at": "2016-12-27T13:30:53+00:00",
"updated_at": "2016-12-27T13:30:53+00:00",
"creator": {
"id": 12009183
}
},
{
"id": 30438076,
"description": "Waiting for client approval",
"created_at": "2016-12-28T04:55:47+00:00",
"updated_at": "2016-12-28T04:55:47+00:00",
"creator": {
"id": 11679192
}
}
] Get comment
Section titled “ Get comment ” GET
v3/projects/23423233/todolists/13964085/tasks/13966758/comments/30438075
returns the specified comment.
{
"id": 30438075,
"description": "Task is currently in progress",
"created_at": "2016-12-27T13:30:53+00:00",
"updated_at": "2016-12-27T13:30:53+00:00",
"creator": {
"id": 12009183
}
} Create comment
Section titled “ Create comment ” POST
v3/projects/23423233/todolists/13964085/tasks/13966758/comments
creates a new comment on the specified task.
{
"description": "Meeting with the client completed"
} 200 OK is returned along with the created comment.
Comment With Attachment
{
"description": "Please review attached document",
"attachments": [
{
"id": "123456"
}
]
} Attachment IDs must first be generated through the Attachments API.
Update comment
Section titled “ Update comment ” PUT
v3/projects/23423233/todolists/13964085/tasks/13966758/comments/30438075
updates the specified comment.
{
"description": "Call with client completed successfully"
} 200 OK is returned along with the updated comment.
Delete comment
Section titled “ Delete comment ” DELETE
v3/projects/23423233/todolists/13964085/tasks/13966758/comments/30438075
deletes the specified comment.
Deleting a comment is permanent and cannot be undone.
204 No Content is returned if the comment is deleted successfully.
403 Forbidden is returned if access is denied.