Liveblocks icon

Liveblocks

Call the Liveblocks REST API (rooms, comments, feeds, Yjs, AI, and more)

Comment → Add Reaction

AI-generated

Summary

Add a reaction emoji to a specific comment within a thread in a Liveblocks room.

Inputs

  • Room ID (required) — The identifier of the Liveblocks room containing the comment.
  • Thread ID (required) — The identifier of the thread containing the comment.
  • Comment ID (required) — The identifier of the comment to which the reaction will be added.
  • User ID (required) — The identifier of the user adding the reaction.
  • Emoji (required) — The emoji symbol to add as the reaction.
  • Created At — Optional timestamp for when the reaction was created.

Output shape

A JSON object representing the updated comment reaction or the API response confirmation.

The operation returns the result of adding a reaction, typically including reaction details. Fields and structure depend on the Liveblocks API response. Errors include optional debug details if enabled via Include Request in Error.

Links

Discussion