Skip to main content
Get User Reaction
Returns the authenticated user’s current reaction on the specified comment, or null if they have not reacted. Authentication required.

Path Parameters

string
required
The UUID of the comment.

Query Parameters

string
The user whose reaction to return. Service or master key only, and required with one — a key has no user of its own, so leaving it out returns 400 comment/missing-user-id. A user token always reads its own reaction: naming a different user returns 403 comment/unauthorized.

Response

or, if the user has no reaction:

Error Responses

Returned when commentId isn’t a valid UUID.
Returned when a request authenticated with a user token sends a userId other than that user’s own ID.
Returned when a service or master key sends no userId.
Returned when the comment doesn’t exist, or is on an entity whose author has blocked the user (the user’s own comments excepted).