Liveblocks icon

Liveblocks

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

Thread → Subscribe

AI-generated

Summary

Subscribe a user to updates for a specific thread within a Liveblocks room.

Inputs

  • Room ID (required) — The identifier of the Liveblocks room containing the thread.
  • Thread ID (required) — The identifier of the thread to subscribe to.
  • User ID (required) — The identifier of the user subscribing to the thread.

Output shape

a subscription confirmation or status object.

The operation returns data indicating the subscription status. It requires all three inputs (Room ID, Thread ID, and User ID) as strings. If the API call fails, an optional flag can include the request details in the error for debugging.

Links

Discussion