> ## Documentation Index
> Fetch the complete documentation index at: https://alpha.developer.tomorro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create folder

> Creates a folder, at the root or under a parent the API key owner can access. The new folder inherits the sharing of its parent. Requires an admin key owner.



## OpenAPI

````yaml /openapi-2025-01-29.alpha.json post /folders
openapi: 3.0.0
info:
  title: Tomorro API
  description: >
    The Tomorro Public API enables you to programmatically manage contracts,
    members, and counterparties. Build powerful integrations that automate your
    contract management workflows.


    ## API Version: 2025-01-29.alpha


    This documentation is for API version `2025-01-29.alpha`.


    ### Using this version

    ```

    curl -X GET https://api.tomorro.com/members \
      -H "x-api-key: YOUR_API_KEY" \
      -H "tomorro-version: 2025-01-29.alpha"
    ```
  version: 2025-01-29.alpha
  contact: {}
servers:
  - url: https://api.tomorro.com/v2
    description: Production
  - url: https://api.demo.tomorro.com/v2
    description: Demo
  - url: http://localhost:3015
    description: Local Development
security: []
tags: []
paths:
  /folders:
    post:
      tags:
        - Folders
      summary: Create folder
      description: >-
        Creates a folder, at the root or under a parent the API key owner can
        access. The new folder inherits the sharing of its parent. Requires an
        admin key owner.
      operationId: FoldersController_createFolder
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FolderCreateDto'
      responses:
        '201':
          description: Folder created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FolderResponseDto'
        '400':
          description: Invalid request body
        '401':
          description: Unauthorized - Invalid or missing API key
        '403':
          description: Forbidden - Insufficient permissions
        '404':
          description: Parent folder not found
        '409':
          description: A sibling folder already has this name (`FolderAlreadyExists`)
        '429':
          description: Too Many Requests - Rate limit exceeded
      security:
        - X-API-KEY: []
components:
  schemas:
    FolderCreateDto:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 255
          description: >-
            Folder name, unique among its siblings. Leading and trailing spaces
            are trimmed and `/` is replaced by `|`.
          example: NDA
        parentFolderId:
          type: string
          format: uuid
          description: Parent folder. Omit or send `null` to create a root folder.
          example: 7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f
          nullable: true
      required:
        - name
      additionalProperties: false
    FolderResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the folder.
          example: 3f2a1c9e-8b7d-4e6f-9a0b-1c2d3e4f5a6b
        name:
          type: string
          description: Name of the folder, unique among its siblings.
          example: NDA
        parentFolderId:
          type: string
          description: >-
            Identifier of the parent folder, `null` for a root folder. Always
            the real parent, even when the authenticated member cannot access it
            (a `GET` on that id then returns 404).
          nullable: true
          example: 7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f
        ownerId:
          type: string
          description: Identifier of the member who owns the folder.
          example: 550e8400-e29b-41d4-a716-446655440000
        createdAt:
          format: date-time
          type: string
          description: Creation date (ISO 8601).
          example: '2026-10-01T09:00:00.000Z'
        updatedAt:
          format: date-time
          type: string
          description: Last modification date (ISO 8601).
          example: '2026-10-15T14:30:00.000Z'
      required:
        - id
        - name
        - parentFolderId
        - ownerId
        - createdAt
        - updatedAt
  securitySchemes:
    X-API-KEY:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Get your key at
        https://app.tomorro.com/settings/integrations?integration=api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.