---
title: "Create Folder"
method: POST
path: "/mailbox/{mailbox_uid}/folder"
---

# Create Folder

`POST /mailbox/{mailbox_uid}/folder`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/mailbox/{mailbox_uid}/folder`
- Auth: API key in header `x-api-key`

Create a new custom folder.

## Path parameters

- `mailbox_uid` string, required

## Request body

- object
  - `name` string, required
  - `parent_id` string, nullable: Microsoft and EWS only. The ID of the parent folder.
  - `background_color` string: Google only. Must be a predefined color from /mailbox/colors/google.
  - `text_color` string: Google only. Must be a predefined color from /mailbox/colors/google.

## Response `200`

- object
  - `type` string
  - `message` string
  - `data` object
    - `folder_id` string

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/mailbox/:mailbox_uid/folder/post.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
