---
title: "Create new folder"
method: POST
path: "/folders"
tags: ["Folders"]
---

# Create new folder

`POST /folders`

Creates a folder. Use parent_folder_id to nest, omit it for a root-level folder.

## Request body

- CreateFolderRequest
  - `name` string, required — Folder name
  - `parent_folder_id` string, uuid, nullable — Parent folder ID for creating nested folders

## Response `201`

Folder created successfully

- object
  - `data` FolderCreated
    - `id` string, uuid
    - `name` string
    - `user_id` string, uuid
    - `parent_folder_id` string, uuid, nullable
    - `status` boolean
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `message` string

## Other responses

- `400` — Bad request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing authentication
- `500` — Internal server error

---

[API](https://skmtc.net/pandavideo/apis/api-v2.md) · [All operations](https://skmtc.net/pandavideo/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandavideo/api-v2/revisions/4fbd3c623ca9/schema)
