---
title: "Create a new folder"
method: POST
path: "/workspaces/{workspaceId}/folders"
---

# Create a new folder

`POST /workspaces/{workspaceId}/folders`

## Request

- Base URL: `https://api.tally.so`
- URL: `https://api.tally.so/workspaces/{workspaceId}/folders`
- Auth: HTTP bearer

Creates a folder in a workspace. Pass parentId to nest it inside another folder. Requires a Pro subscription.

## Path parameters

- `workspaceId` string, required

## Request body

- object
  - `name` string, required: The name of the folder
  - `parentId` string: The ID of the parent folder to nest this folder under

## Response `201`

Folder created successfully

- Folder
  - `id` string, required
  - `name` string, required
  - `workspaceId` string, required
  - `parentId` string, nullable, required
  - `createdByUserId` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Invalid request body or maximum folder nesting depth exceeded
- `401`: Unauthorized
- `404`: Workspace or parent folder not found

---

[API](https://skmtc.dev/tally/apis/tally-api.md) - [All operations](https://skmtc.dev/tally/apis/tally-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tally/apis/tally-api/revisions/8b37e41e11fa?raw)
