Ir al contenido principal
Comments

Get a comment by ID

Retrieves a single comment by its unique identifier.

GET
/v2/comments/{id}

Returns the full comment object including:

  • Author information
  • Voting stats (upvotes, downvotes, score)
  • Privacy and moderation status
  • Threading information (parentCommentId)
  • Timestamps

Response

Returns a comment object with all fields populated.

Errors

  • 400 - Invalid comment ID format
  • 404 - Comment not found or doesn't belong to your organization
Authorizationstringheaderobligatorio

API key as Bearer token. Use: Authorization: Bearer sk_...

idstringobligatorio

Comment unique identifier

Ejemplo: 507f1f77bcf86cd799439011
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Opciones disponibles: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Ejemplo: 2026-08-19.orbit

Respuesta

application/json

Success

authorobject | nullobligatorio
changelogIdstring | nullobligatorio

Changelog ID this comment belongs to

Ejemplo: 507f1f77bcf86cd799439013
contentstringobligatorio

Comment content in HTML format

Ejemplo: <p>This is a great idea!</p>
createdAtstringobligatorio

ISO 8601 timestamp when created

Ejemplo: 2023-12-12T00:00:00.000Z
downvotesnumberobligatorio

Number of downvotes

Ejemplo: 0
idstringobligatorio

Unique identifier

Ejemplo: 507f1f77bcf86cd799439011
inReviewbooleanobligatorio

Whether the comment is in review

Ejemplo: false
isDeletedbooleanobligatorio

Whether the comment is deleted

Ejemplo: false
isPinnedbooleanobligatorio

Whether the comment is pinned

Ejemplo: false
isPrivatebooleanobligatorio

Whether the comment is private

Ejemplo: false
isSpambooleanobligatorio

Whether the comment is spam

Ejemplo: false
objectenum<string>obligatorio

Object type identifier

Opciones disponibles: comment
Ejemplo: comment
parentCommentIdstring | nullobligatorio

Parent comment ID for replies, null for root comments

Ejemplo: 507f1f77bcf86cd799439014
postIdstring | nullobligatorio

Post ID this comment belongs to

Ejemplo: 507f1f77bcf86cd799439012
scorenumberobligatorio

Net score (upvotes - downvotes)

Ejemplo: 5
updatedAtstringobligatorio

ISO 8601 timestamp when updated

Ejemplo: 2023-12-13T00:00:00.000Z
upvotesnumberobligatorio

Number of upvotes

Ejemplo: 5