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

# Fetch project folders

> Returns a list of project folders in the workspace of the requesting user.



## OpenAPI

````yaml openapi-legacy.json get /project-folders
openapi: 3.0.0
info:
  version: 1.0.0
  title: Ditto API
  description: Programmatically read and write data in your Ditto workspace.
servers:
  - url: https://api.dittowords.com/v1
security: []
paths:
  /project-folders:
    get:
      tags:
        - Project Folders
      summary: Fetch project folders
      description: >-
        Returns a list of project folders in the workspace of the requesting
        user.
      responses:
        '200':
          description: >-
            Returns a list of project folders in the workspace of the requesting
            user.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                  required:
                    - id
                    - name
                example:
                  - id: folder_1
                    name: Folder 1
                  - id: folder_2
                    name: Folder 2
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization

````