---
title: "Create a room folder"
method: POST
path: "/rooms/{id}/folders"
tags: ["Rooms"]
---

# Create a room folder

`POST /rooms/{id}/folders`

## Request

- Base URL: `https://dataroom.corgi.com/api/v1`
- URL: `https://dataroom.corgi.com/api/v1/rooms/{id}/folders`
- Auth: HTTP bearer

Creates a `FOLDER` (navigable container) or `SECTION` (labelled divider) in the room. `parentId` must be a live FOLDER in the room. Duplicate names are allowed on create. Rejected with 409 when the room is frozen. Scope: `datarooms:write`.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string, required
  - `parentId` string
  - `kind` 'FOLDER' | 'SECTION'

## Response `201`

Created

## Other responses

- `400`: Invalid parent
- `404`: Room not found
- `409`: Room is frozen

---

[API](https://skmtc.dev/corgi/apis/dataroom-api.md) - [All operations](https://skmtc.dev/corgi/apis/dataroom-api/llms.txt) - [OpenAPI document](https://skmtc.dev/corgi/apis/dataroom-api/revisions/73f75ef04a00?raw)
