Skip to main content
client.gamma.comments.getCommentById fetches the root comment and its replies for the supplied ID.

Request

Parameters

NameTypeRequiredNotes
idnumber (≥ 0)Comment ID.
get_positionsbooleanInclude position data within profiles.

Response

An array of Comment objects identical to List Comments. The first element is the root comment.

Usage example

Failure modes

  • id must be numeric.