client.gamma.comments.getCommentById fetches the root comment and its replies for the supplied ID.
Request
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
id | number (≥ 0) | ✅ | Comment ID. |
get_positions | boolean | Include position data within profiles. |
Response
An array ofComment objects identical to List Comments. The first element
is the root comment.
Usage example
Failure modes
idmust be numeric.