---
title: "Create folder"
url: "https://docs.signnow.com/docs/folder/operations/create-folder"
type: "endpoint"
section: "folder"
slug: "folder/operations/create-folder"
method: "POST"
path: "/user/folder"
operation_id: "create-folder"
authorization: "bearer"
---

# Create folder

`POST /user/folder`

This endpoint allows API users to create a folder inside the specified parent folder.

**Notes**

* To get the ID of a parent folder, such as `Documents`, call `GET /user/folder`.

## Authorization

bearer

## Request Body

**Schema**

```json
{
  "type": "object",
  "required": [
    "name",
    "parent_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the new folder."
    },
    "parent_id": {
      "type": "string",
      "description": "ID of the folder to create the new folder in."
    }
  }
}
```

**Example** (`Create folder`)

```json
{
  "name": "Contracts 2026",
  "parent_id": "f0e1d2c3b4a5f6e7d8c9b0a1f2e3d4c5b6a7f8e9"
}
```

## Responses

### 200

The folder was created. Returns its ID.

**Example** (`Folder created`)

```json
{
  "id": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0"
}
```

### 400

* `name` is missing or empty
* The parent folder does not exist

**Example** (`Empty name`)

```json
{
  "errors": [
    {
      "code": 65536,
      "message": "name must not be empty"
    }
  ]
}
```

**Example** (`Parent folder not found`)

```json
{
  "errors": [
    {
      "code": 65626,
      "message": "parent resource does not exist"
    }
  ]
}
```

## Code Examples

> Replace `$SIGNNOW_ACCESS_TOKEN` and any `{placeholder}` values before running.

### cURL

```bash
curl -X POST \
  "https://api.signnow.com/user/folder" \
  -H "Authorization: Bearer $SIGNNOW_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "Contracts 2026", "parent_id": "f0e1d2c3b4a5f6e7d8c9b0a1f2e3d4c5b6a7f8e9"}'
```

---
*Full reference: https://docs.signnow.com/docs/folder/operations/create-folder*
