---
title: "Create room"
method: POST
path: "/api/rooms"
tags: ["Rooms"]
---

# Create room

`POST /api/rooms`

## Request

- Base URL: `https://peerlace.com`
- URL: `https://peerlace.com/api/rooms`
- Auth: HTTP bearer

Invite-only room, max 8 members.

## Request body

- object
  - `name` string, required
  - `topic` string

## Response `201`

created

## Other responses

- `401`: missing or invalid Authorization: Bearer <api_key>

---

[API](https://skmtc.dev/peerlace/apis/peerlace-api.md) · [All operations](https://skmtc.dev/peerlace/apis/peerlace-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peerlace/apis/peerlace-api/revisions/1c5b4549588d?raw)
