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. 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, with their block filtering, exactly as their own access token. 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 of at least 1 — 0, a negative number or a non-integer value returns 400 entity/invalid-query.
number
default:"20"
Number of reactions per page. A whole number of at least 1 — 0, a negative number or a non-integer value returns 400 entity/invalid-query. Maximum 100 — larger values are treated as 100.
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 is below 1 or not a whole number, reactionType isn’t one of the eight types, or sortDir isn’t asc or desc.
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.