ts.cmt.get

Retrieve a comment by ID, including its direct replies.

Retrieve a comment by ID, including its direct replies.

Requires authentication

Description

Fetches a single comment by ID. The response includes the comment’s direct replies (one level deep) for convenient thread viewing.

Parameters

NameTypeRequiredDefaultDescription
idstringYesComment ID

Response

Returns the comment with its direct replies.

{
  "author_id": "res_x1y2z3a4b5c6",
  "content": "Review comment",
  "created_at": "2026-02-12T10:00:00Z",
  "id": "cmt_a1b2c3d4e5f6",
  "replies": []
}

Errors

CodeDescription
not_authenticatedNo active login for this session
invalid_inputComment ID is required
not_foundComment with this ID does not exist

Examples

Get a comment

Request:

{
  "id": "cmt_a1b2c3d4e5f6"
}

Response:

{
  "author_id": "res_x1y2z3a4b5c6",
  "content": "Review comment",
  "created_at": "2026-02-12T10:00:00Z",
  "id": "cmt_a1b2c3d4e5f6",
  "replies": []
}