Skip to main content
Fetch Entity Reactions
Requires the entities bundle. A project without the entities bundle returns 403 database/tables-not-available. See Bundles.
Returns a paginated list of reactions for an entity, each with the reacting user’s profile. Useful for displaying “liked by” lists or reaction breakdowns. An entity in a space the viewer can’t read (see who can read content), or one whose author has blocked the viewer, answers 404 entity/not-found, exactly like an entity that doesn’t exist. A viewer who blocked the author still gets the list. An entity a moderator removed answers 404 entity/not-found too; the user’s own reaction on it stays readable through Get User Reaction. 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 entity.

Query Parameters

string
Service key only: the user to list as, exactly as their own access token: their block filtering, and 404 for an entity whose author blocked them. Leave it out for the anonymous view (no block filtering). A user token always acts as its own user and must not send it, and neither may a request with no credentials (400 entity/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 entity/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 entity/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 reaction 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 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 entity doesn’t exist, a moderator removed it, its author has blocked the viewer, or it is in a space the viewer 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.