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

# Create folder

`POST /api/v1/folders`

## Request

- Base URL: `https://api.pitch.com`
- URL: `https://api.pitch.com/api/v1/folders`
- Auth: one of:
  - API key in header `X-API-KEY`
  - HTTP bearer

Create a folder in a teamspace or in the caller's private space, at the top level or inside another folder.

## Request body

- object
  - `name` string, required: Name of the new folder.
  - `teamspace_id` string, uuid, nullable: UUID of the teamspace to create the folder in. When omitted, the folder is created in the caller's private space.
  - `parent_id` string, uuid, nullable: UUID of the folder to create the new folder in. Must be a folder in the target teamspace (or in the caller's private space when no teamspace is given). When omitted, the folder is created at the top level.

## Response `201`

- object
  - `data` object, required
    - `folder_id` string, uuid, required
    - `parent_id` string, uuid, nullable, required
    - `name` string, required
    - `owner` object, nullable: Who shared the folder. Only set with shared_with_me.
      - `id` string, uuid, required
      - `name` string, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `400`
- `403`
- `404`

---

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