---
title: "Create a team folder"
method: POST
path: "/teams/{slug}/folders"
tags: ["Teams"]
---

# Create a team folder

`POST /teams/{slug}/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/teams/{slug}/folders`
- Auth: HTTP bearer

Create a folder in a team-scoped media library.

## Path parameters

- `slug` string, required

## Request body

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

## 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)
