Liveblocks icon

Liveblocks

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

Group → Add Members

AI-generated

Summary

Add one or more members to a specified group within Liveblocks by providing the group's unique identifier and a list of member IDs.

Inputs

  • Group ID (required) — Specifies the unique identifier of the group to which members will be added.
  • Member IDs (required) — A required input representing the members to add, specified as a JSON array or a comma-separated string of user IDs.
  • Include Request in Error — Optional boolean to include detailed request and response information in error messages to aid debugging.

Output shape

a JSON object reflecting the response from the Liveblocks API confirming the addition of members; exact structure depends on the API.

Errors may optionally include HTTP request details if "Include Request in Error" is set true. The 'Member IDs' input is parsed from JSON array or comma-separated string format before the API call.

Links

Discussion