> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pingmee.co.il/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Folder

> Create a workflow folder. Client supplies `id` in the path (URL-encode it). Body requires `{ name }`. Use this folder id as `folderId` when creating a workflow, or reuse `folderId` from POST `/workflows` (minimal list).

Create a workflow folder so you can pass `folderId` when [creating a workflow](/api-reference/workflows/create). You supply `id` in the path (URL-encode it).

```json theme={null}
{
  "name": "Onboarding"
}
```

You can skip this call and reuse a `folderId` from [List workflows](/api-reference/workflows/get-minimal).


## OpenAPI

````yaml POST /folders/{id}
openapi: 3.1.0
info:
  title: Pingmee API
  description: A complete guide to Pingmee micro service architecture.
  version: 1.0.0
servers:
  - url: https://api.pingmee.co.il
security:
  - cookieAuth: []
    ApiKeyAuth: []
paths:
  /folders/{id}:
    servers:
      - url: https://workflows.pingmee.co.il
        description: Workflows service
    post:
      description: >-
        Create a workflow folder. Client supplies `id` in the path (URL-encode
        it). Body requires `{ name }`. Use this folder id as `folderId` when
        creating a workflow, or reuse `folderId` from POST `/workflows` (minimal
        list).
      parameters:
        - name: id
          in: path
          required: true
          description: >-
            Client-supplied folder identifier. Must be URL-encoded when used in
            the path.
          schema:
            type: string
      requestBody:
        required: true
        description: Folder display name.
        content:
          application/json:
            schema:
              type: object
              required:
                - name
              properties:
                name:
                  type: string
                  description: Folder name.
              additionalProperties: false
      responses:
        '201':
          description: Folder created
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Folder 'folder_onboarding' created.
                additionalProperties: false
        '400':
          description: Missing folder name
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: string
        message:
          type: string
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: header
      name: Cookie
      description: Personal access token from Pingmee Settings → Developer Tools
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Business API key from Pingmee Settings → Developer Tools

````