Skip to main content
Fetch Comment 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. A comment on an entity in a space the viewer can’t read (see who can read content) answers 404 comment/not-found, exactly like a comment that doesn’t exist. Authentication is optional — the endpoint works without a token. When there is a viewer (the signed-in user, or the user a service key names in actingUserId), reactions from users with a block between them and the viewer, in either direction, are excluded from both the results and the count. Block filtering requires the moderation bundle.

Path Parameters

string
required
The UUID of the comment.

Query Parameters

string
Service key only: the user to list as, exactly as their own access token: their block filtering, and 404 for a comment on an entity whose author blocked them. Leave it out for the anonymous view. A user token always acts as its own user and must not send it, and neither may a request with no credentials (400 comment/acting-user-not-allowed).
number
default:"1"
Page number (1-indexed): a whole number, 1 or more. Defaults to 1. Any other value returns 400 comment/invalid-query with param: "page".
number
default:"20"
Reactions per page: a whole number from 1 to 100. Defaults to 20. A larger value returns 400 comment/invalid-query with param: "limit" (it is never lowered to 100), as does 0, a negative number or a value that isn’t a whole number. See Pagination.
string
Filter to a specific reaction type. One of: upvote, downvote, like, love, wow, sad, angry, funny. When omitted, all types are returned.
string
default:"desc"
Sort by creation time, "asc" or "desc" (either case).

Space-scoped reputation

This endpoint has a space in context, so it accepts the opt-in reputation params. They add a spaceReputation field to each reactor’s user, alongside the always-present reputation total. Requires the reputation bundle. See the Reputation data model for the full contract.

Response

Error Responses

Returned when commentId isn’t a valid UUID.
Returned when page or limit breaks the pagination rule (param names it), reactionType isn’t one of the eight types, or sortDir isn’t asc or desc.
Returned when the comment doesn’t exist, a moderator removed it, it is on an entity whose author has blocked the caller (the caller’s own comments excepted), or it is on an entity in a space the caller can’t read.
A user token, or a request with no credentials, sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.