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

# Create a folder

`POST /folders`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/folders`
- Auth: HTTP bearer

Create a new folder for organizing files.

## Request body

- object
  - `name` string, required: Folder name

## Response `201`

Folder created successfully

- Folder
  - `id` string, uuid, required
  - `name` string, required
  - `team_id` string, uuid, nullable, required
  - `created_by` string, uuid, nullable, required
  - `created_at` union, required
    - string, nullable
    - string
    - unknown
  - `updated_at` union, required
    - string, nullable
    - string
    - unknown
  - `deleted_at` union, required
    - string, nullable
    - string
    - unknown

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
