---
title: "add a new directory"
method: POST
path: "/user/directories"
tags: ["user"]
---

# add a new directory

`POST /user/directories`

## Request

- Base URL: `https://api.calendarhero.com`
- URL: `https://api.calendarhero.com/user/directories`
- Auth: API key in header `Authorization`

## Request body

- Model21
  - `directory` Model20, required
    - `directoryName` string, required
    - `title` string
    - `code` string
    - `meetingTypes` Model18[], required
      - `name` string
      - `userId` string
    - `isDefault` boolean
    - `instructions` string
    - `locked` boolean
    - `googleTrackingIds` Model9[]
      - `type` string
      - `id` string

## Response `default`

Successful

- string

---

[API](https://skmtc.dev/calendarhero/apis/calendarhero-api.md) · [All operations](https://skmtc.dev/calendarhero/apis/calendarhero-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calendarhero/apis/calendarhero-api/revisions/687e58e57a8d?raw)
