---
title: "Creates a new folder"
method: POST
path: "/Folders"
tags: ["Files"]
---

# Creates a new folder

`POST /Folders`

By passing in the appropriate properties, you can create a new folder

## Headers

- `Idempotency-Key` string

## Request body

- Folder
  - `Name` string — The name of the folder
  - `FileCount` integer — The number of files in the folder
  - `Email` string — The email address used to email files to the inbox. Only the inbox will have this element.
  - `IsInbox` boolean — to indicate if the folder is the Inbox. The Inbox cannot be renamed or deleted.
  - `Id` string, uuid — Xero unique identifier for a folder Files

## Response `200`

search results matching criteria

- Folder
  - `Name` string — The name of the folder
  - `FileCount` integer — The number of files in the folder
  - `Email` string — The email address used to email files to the inbox. Only the inbox will have this element.
  - `IsInbox` boolean — to indicate if the folder is the Inbox. The Inbox cannot be renamed or deleted.
  - `Id` string, uuid — Xero unique identifier for a folder Files

## Other responses

- `400` — invalid input, object invalid

---

[API](https://skmtc.net/xeroapi/apis/xero-files-api.md) · [All operations](https://skmtc.net/xeroapi/apis/xero-files-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xeroapi/xero-files-api/versions/64c08f9a8548/schema)
