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

# Create Folder

> Create a new bookmark folder



## OpenAPI

````yaml POST /bookmark/folders
openapi: 3.0.3
info:
  title: Bookmark API
  version: 1.0.0
  description: API for managing bookmarks and bookmark folders.
servers:
  - url: https://our-secret-api-url.com
security: []
paths:
  /bookmark/folders:
    post:
      description: Create a new bookmark folder
      parameters:
        - $ref: '#/components/parameters/X-API-KEY'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name of the new folder
              required:
                - name
      responses:
        '200':
          description: Folder created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                  name:
                    type: string
                  createdAt:
                    type: string
                    format: date-time
                  userId:
                    type: integer
                  bookmarkCount:
                    type: integer
        '500':
          description: Failed to create folder
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      security:
        - bearerAuth: []
components:
  parameters:
    X-API-KEY:
      name: X-API-KEY
      description: API key required for authentication
      in: header
      required: true
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````