Skip to main content
POST
/
tasks
/
{task_id}
/
task_comments
{
  "success": true,
  "task_comment": {
    "id": "abcd1234",
    "comment": "This is a comment on a task",
    "created_at": "2025-07-25T14:32:00Z",
    "updated_at": "2025-07-25T15:00:00Z",
    "user": {
      "id": "user_123",
      "username": "johndoe",
      "avatar": "https://example.com/avatar.png"
    }
  }
}

Query Parameters

task_id
string
required

ID of the task to which the comment belongs

comment
string
required

Text content of the comment

private
boolean

Set to true to make the comment private

Response

200 - application/json

Successful response

success
boolean
Example:

true

task_comment
object