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

# Create a new folder

`POST /user/folders`

## Request body

- object
  - `color` string
  - `name` string

## Response `201`

The ID of the created folder

- RoutesCreateFolderResponse
  - `id` string

## Other responses

- `400` — Invalid user ID or request body
- `500` — Failed to create folder

## Changes

- **2025-06-13** `9a8e5791f50c` — 1 info
  - endpoint added
- **2022-05-18** `c8572ecc9480` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/schej-it/apis/schej-it-api/changes/user/folders/post.md)

---

[API](https://skmtc.dev/schej-it/apis/schej-it-api.md) · [All operations](https://skmtc.dev/schej-it/apis/schej-it-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/schej-it/schej-it-api/revisions/2dde8d9eb29c/schema)
