---
title: "Create Folder"
method: POST
path: "/video/workspaces/{workspace_id}/folders"
tags: ["API Endpoints"]
---

# Create Folder

`POST /video/workspaces/{workspace_id}/folders`

## Request

- Base URL: `https://api.gumlet.com/v1`
- URL: `https://api.gumlet.com/v1/video/workspaces/{workspace_id}/folders`
- Auth: API key in header `Authorization`

Create a folder inside a video workspace. Optionally provide `parent_id` to create a nested folder.

## Path parameters

- `workspace_id` string, required

## Request body

- object
  - `name` string, required: Folder name.
  - `parent_id` string, nullable: Parent folder id. Send `null` or omit it to create a root-level folder.

## Response `200`

200

- object
  - `id` string
  - `name` string
  - `video_source_id` string
  - `parent_id` string, nullable
  - `path` string[]
  - `path_names` string[]
  - `depth` integer
  - `subdirectory_count` integer
  - `asset_count` integer
  - `created_at` string
  - `updated_at` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/gumlet/apis/gumlet-rest-apis.md) - [All operations](https://skmtc.dev/gumlet/apis/gumlet-rest-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/gumlet/apis/gumlet-rest-apis/revisions/b1f7ac2aeeec?raw)
