API Reference - @liveblocks/node
You can use the Liveblocks API in test mode, which does not affect your live data. The API key you use to authenticate the request determines whether the request is live mode or test mode.
If the current user has access to the provided room, call this function from your authorization endpoint and returns the result as a http response.
Optionally, you can also pass a
userInfo to add information about the current user that will not change during the session. It can be helpful to implement avatars or display the user’s name without introducing a potential security issue (impersonification).
userId cannot be longer than 128 characters.
userInfo cannot be longer than 1024 characters once serialized to JSON.