---
title: "Creates a new Folder and returns it with the generated ID."
method: PUT
path: "/folder"
tags: ["folder"]
---

# Creates a new Folder and returns it with the generated ID.

`PUT /folder`

## Request body

- FolderCreate
  - `name` string, required — Name of the folder
  - `folder_type` 'normal' | 'sdoc_folder', required
  - `parent_id` integer, nullable — ID of the parent folder (nullable)
  - `project_id` integer, required — ID of the project this folder belongs to (nullable)

## Response `200`

Successful Response

- FolderRead
  - `name` string, required — Name of the folder
  - `folder_type` 'normal' | 'sdoc_folder', required
  - `parent_id` integer, nullable — ID of the parent folder (nullable)
  - `project_id` integer, required — ID of the project this folder belongs to (nullable)
  - `id` integer, required — ID of the Folder
  - `created` string, date-time, required — Creation timestamp of the folder
  - `updated` string, date-time, required — Update timestamp of the folder

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-23** `d951959b83e4` — 1 info
  - api tag `mcp` removed
- **2026-09-23** `3bdfd02830b1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/changes/folder/put.md)

---

[API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/revisions/c68c19b13069?raw)
