Notifications

Get room subscription settings

Changed on

This endpoint returns a user’s subscription settings for a specific room. Corresponds to liveblocks.getRoomSubscriptionSettings.

get/rooms/{roomId}/users/{userId}/subscription-settings

Request

  • Base URL: https://api.liveblocks.io/v2
  • URL: https://api.liveblocks.io/v2/rooms/{roomId}/users/{userId}/subscription-settings
  • Auth: none declared

Path parameters

roomIdstring required

ID of the room

Example:my-room-id
userIdstring required

ID of the user

Example:user-123

Response

Success. Returns the user's subscription settings for the specified room.

threads'all' | 'replies_and_mentions' | 'none' required
textMentions'mine' | 'none' required

Example response

{
  "threads": "all",
  "textMentions": "mine"
}

Changes

    • info

      api operation id get-rooms-roomId-users-userId-subscription-settings removed and replaced with get-room-subscription-settings

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      endpoint added