# Create upload folder

```http
POST /projects/{project_reference}/uploads/folders
```

Create a folder in project uploads with a visibility. Requires project.uploads.write.

## Parameters

| Name                | In   | Required | Description                                                |
| ------------------- | ---- | -------- | ---------------------------------------------------------- |
| `project_reference` | path | Yes      | Project slug, UUID, or domain that identifies the project. |

## Request body

| Field         | Type   | Required | Description                                                                                                                                            |
| ------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `folder_path` | string |          | Folder path (for example, "assets/images/"). Trailing slash is added automatically.                                                                    |
| `path`        | string |          | Another spelling of folder\_path. Send one of the two.                                                                                                 |
| `visibility`  | string |          | Folder visibility; defaults to project. Changing inherited visibility requires path administration; public visibility follows the paid-project policy. |

## Responses

| Status | Description                                            |
| ------ | ------------------------------------------------------ |
| 201    | Folder created.                                        |
| 400    | Invalid input                                          |
| 401    | Unauthorized                                           |
| 402    | Public visibility is not available on the project plan |
| 403    | Forbidden                                              |
| 404    | Project or upload path not found                       |
| 500    | Server error                                           |
