---
title: "Create Folder"
method: POST
path: "/api/folders/business/{business_id}"
tags: ["folders"]
---

# Create Folder

`POST /api/folders/business/{business_id}`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/folders/business/{business_id}`
- Auth: HTTP bearer

Create a new VDR folder.

## Path parameters

- `business_id` string, uuid, required

## Request body

- VDRFolderCreate: Create VDR folder payload.
  - `business_id` string, uuid, required
  - `parent_id` string, uuid, nullable
  - `name` string, required
  - `sort_order` integer
  - `is_protected` boolean

## Response `200`

Successful Response

- VDRFolder: VDR folder record.
  - `id` string, uuid, required
  - `advisory_id` string, uuid, required
  - `business_id` string, uuid, required
  - `parent_id` string, uuid, nullable
  - `name` string, required
  - `sort_order` integer, required
  - `is_protected` boolean, required
  - `is_staging` boolean
  - `system_kind` 'staging' | 'generated' | 'emails', nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
