Liveblocks Rooms API

The Rooms API from Liveblocks — 6 operation(s) for rooms.

Operations 9

GET /rooms List rooms #
POST /rooms Create a room #
GET /rooms/{roomId} Get room #
POST /rooms/{roomId} Update room #
DELETE /rooms/{roomId} Delete room #
GET /rooms/{roomId}/prewarm Prewarm room #
POST /rooms/{roomId}/upsert Upsert room #
POST /rooms/{roomId}/update-room-id Change room identifier #
POST /rooms/{roomId}/update-organization-id Change room organization association #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/liveblocks-rooms-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

liveblocks-rooms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Liveblocks REST Active Users Rooms API
  description: Server-side REST API for managing Liveblocks rooms, room storage, active users, broadcast events, comments and threads, Yjs documents, and version history. Authenticated with a secret key via HTTP Bearer authorization.
  version: v2
  contact:
    name: Liveblocks
    url: https://liveblocks.io/docs/api-reference/rest-api-endpoints
servers:
- url: https://api.liveblocks.io/v2
  description: Liveblocks REST API
security:
- bearerAuth: []
tags:
- name: Rooms
paths:
  /rooms:
    get:
      tags:
      - Rooms
      summary: List rooms
      description: Retrieve list of rooms with filtering and pagination.
      operationId: listRooms
      responses:
        '200':
          description: A list of rooms.
    post:
      tags:
      - Rooms
      summary: Create a room
      operationId: createRoom
      responses:
        '200':
          description: The created room.
  /rooms/{roomId}:
    parameters:
    - $ref: '#/components/parameters/RoomId'
    get:
      tags:
      - Rooms
      summary: Get room
      operationId: getRoom
      responses:
        '200':
          description: Room details.
    post:
      tags:
      - Rooms
      summary: Update room
      operationId: updateRoom
      responses:
        '200':
          description: Updated room.
    delete:
      tags:
      - Rooms
      summary: Delete room
      operationId: deleteRoom
      responses:
        '204':
          description: Room deleted.
  /rooms/{roomId}/prewarm:
    parameters:
    - $ref: '#/components/parameters/RoomId'
    get:
      tags:
      - Rooms
      summary: Prewarm room
      description: Accelerate room connection readiness.
      operationId: prewarmRoom
      responses:
        '200':
          description: Prewarm acknowledged.
  /rooms/{roomId}/upsert:
    parameters:
    - $ref: '#/components/parameters/RoomId'
    post:
      tags:
      - Rooms
      summary: Upsert room
      operationId: upsertRoom
      responses:
        '200':
          description: Room created or updated.
  /rooms/{roomId}/update-room-id:
    parameters:
    - $ref: '#/components/parameters/RoomId'
    post:
      tags:
      - Rooms
      summary: Change room identifier
      operationId: updateRoomId
      responses:
        '200':
          description: Room identifier changed.
  /rooms/{roomId}/update-organization-id:
    parameters:
    - $ref: '#/components/parameters/RoomId'
    post:
      tags:
      - Rooms
      summary: Change room organization association
      operationId: updateRoomOrganizationId
      responses:
        '200':
          description: Organization changed.
components:
  parameters:
    RoomId:
      name: roomId
      in: path
      required: true
      description: The room identifier.
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Authenticate with a Liveblocks secret key as a Bearer token.