Skip to main content
GET
/
:projectId
/
comments
/
:commentId
Get Comment
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/comments/:commentId
{
  "comment": {
    "id": "<string>",
    "entityId": "<string>",
    "content": "<string>",
    "createdAt": "<string>"
  },
  "parentComment": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.replyke.com/llms.txt

Use this file to discover all available pages before exploring further.

Fetches a single comment by its ID. Optionally returns the parent comment if it exists and withParent=true is passed.

Path Parameters

commentId
string
required
The ID of the comment to fetch

Query Parameters

withParent
string
If true, includes the parent comment in the response

Response

comment
object
parentComment
object
Parent comment object (null if no parent or withParent not set)

Error Responses

{
  "error": "Missing a valid comment ID in request query",
  "code": "comment/invalid-request"
}
{
  "error": "Comment not found",
  "code": "comment/not-found"
}
{
  "error": "Internal server error.",
  "code": "comment/server-error",
  "details": "[error message]"
}

Notes

  • Set withParent=true to retrieve the parent comment if it exists.
  • Returns parentComment: null if the comment has no parent or withParent is not set.