> ## Documentation Index
> Fetch the complete documentation index at: https://developers.tally.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating folders

> Creates a folder in a workspace. Pass parentId to nest it inside another folder. Requires a Pro subscription.



## OpenAPI

````yaml POST /workspaces/{workspaceId}/folders
openapi: 3.0.1
info:
  title: OpenAPI
  description: Tally's API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.tally.so
security:
  - bearerAuth: []
paths:
  /workspaces/{workspaceId}/folders:
    post:
      summary: Create a new folder
      description: >-
        Creates a folder in a workspace. Pass parentId to nest it inside another
        folder. Requires a Pro subscription.
      parameters:
        - name: workspaceId
          in: path
          required: true
          description: The ID of the workspace to create the folder in
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The name of the folder
                parentId:
                  type: string
                  description: The ID of the parent folder to nest this folder under
              required:
                - name
      responses:
        '201':
          description: Folder created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Folder'
        '400':
          description: Invalid request body or maximum folder nesting depth exceeded
        '401':
          description: Unauthorized
        '404':
          description: Workspace or parent folder not found
      security:
        - bearerAuth: []
components:
  schemas:
    Folder:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        workspaceId:
          type: string
        parentId:
          type: string
          nullable: true
        createdByUserId:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - name
        - workspaceId
        - parentId
        - createdByUserId
        - createdAt
        - updatedAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````