---
title: "Create a persistent folder"
method: POST
path: "/vault/{id}/folders"
tags: ["Vaults"]
---

# Create a persistent folder

`POST /vault/{id}/folders`

## Request

- Base URL: `https://api.case.dev`
- URL: `https://api.case.dev/vault/{id}/folders`
- Auth: HTTP bearer

Creates a durable empty folder and missing parents. Metadata only; no S3 objects are created. Requires vault-wide write access and vault ownership.

## Path parameters

- `id` string, required

## Request body

- object
  - `path` string, required

## Response `200`

Folder created

- object
  - `path` string, required
  - `folderPaths` string[], required

## Other responses

- `400`: Invalid folder path
- `401`: Invalid API key
- `403`: Vault-wide write access required
- `404`: Vault not found
- `409`: Folder exists or folder limit reached

## Changes

- **2026-10-16** `a21d188f4b21`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/casemark/apis/case-dev-api/changes/vault/:id/folders/post.md)

---

[API](https://skmtc.dev/casemark/apis/case-dev-api.md) - [All operations](https://skmtc.dev/casemark/apis/case-dev-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casemark/apis/case-dev-api/revisions/9a3245c00044?raw)
