Skip to main content
GET
/
:projectId
/
api
/
v7
/
comments
/
:commentId
/
reactions
Fetch Comment Reactions
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/comments/:commentId/reactions
Returns a paginated list of reactions for a comment, each with the reacting user’s profile. Useful for displaying “reacted by” lists or per-type reaction breakdowns. No authentication required.

Path Parameters

commentId
string
required
The UUID of the comment.

Query Parameters

page
number
default:"1"
Page number (1-indexed).
limit
number
default:"20"
Number of reactions per page. Maximum 100.
reactionType
string
Filter to a specific reaction type. One of: upvote, downvote, like, love, wow, sad, angry, funny. When omitted, all types are returned.
sortDir
string
default:"DESC"
Sort by creation time. ASC or DESC.

Response

{
  "data": [
    {
      "id": "uuid",
      "reactionType": "like",
      "userId": "uuid",
      "targetId": "commentId",
      "targetType": "comment",
      "user": {
        "id": "uuid",
        "name": "Alice",
        "username": "alice",
        "avatar": "https://...",
        "reputation": 120
      },
      "createdAt": "2025-01-01T00:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 8,
    "totalPages": 1,
    "hasMore": false
  }
}

Error Responses

{ "error": "Comment not found.", "code": "comment/not-found" }