Comments

List comments on a task

Lists the comments on one task, newest first.

Comments always belong to a task or a deal, so there is no endpoint that lists them all — you read them per record. A task you cannot see returns 404.

Two kinds of entry live in this thread: comments people wrote (user_created) and the activity Bonsai records on its own (event) — status changes, reassignments and the like. Only the written comments come back by default; use filter[kind] to get the activity entries instead, or both together.

get/public-api/v1/tasks/{task_id}/comments

Request

  • Base URL
    https://app.hellobonsai.com
  • URL
    https://app.hellobonsai.com/public-api/v1/tasks/{task_id}/comments
  • Auth
    • OAuth 2
      Authorization code: https://app.hellobonsai.com/oauth/authorize
      Token URL: https://app.hellobonsai.com/oauth/token
    • or HTTP bearer

Path parameters

task_idstring required

The task to read comments from — the task's uuid.

Query parameters

filter[kind]'user_created' | 'events' | 'all'

Which entries to return: user_created for written comments (the default), events for the activity Bonsai records automatically, or all for both.

page[number]integer

Page to return, starting at 1.

page[size]integer

Records per page. Defaults to 25; anything above 100 is reduced to 100.

Response

A page of comments, newest first.

Example response

{
  "data": [
    {
      "id": 5821,
      "kind": "user_created",
      "commentable_type": "Task",
      "created_at": "2026-04-14T09:12:04.000Z",
      "body_plain_text": "Looks good to me!",
      "commentable_id": "ad3fdad8-5072-46df-8800-bb57299179df",
      "author_member_id": 314
    }
  ],
  "meta": {
    "request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e",
    "pagination": {
      "page": 1,
      "page_size": 25,
      "has_more": true
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.