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

# Ordner auflisten

> Requires scope: files:read



## OpenAPI

````yaml api-reference/openapi.json GET /folders
openapi: 3.1.0
info:
  title: DealPipe Public API
  version: 1.0.0
  description: >-
    Org-scoped REST API for external integrations. All endpoints require an
    `Authorization: Bearer dp_live_...` token issued in the dashboard under
    Settings → API tokens. Tokens carry a subset of RBAC permissions called
    *scopes*; the effective permission set is `scopes ∩
    creator-current-permissions` resolved at request time.
servers:
  - url: https://app.deal-pipe.de/api/v1
    description: Dealpipe
security:
  - bearerAuth: []
paths:
  /folders:
    get:
      summary: List folders
      description: 'Requires scope: files:read'
      parameters:
        - name: parentId
          in: query
          schema:
            type:
              - string
              - 'null'
            format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  folders:
                    type: array
                    items:
                      $ref: '#/components/schemas/Folder'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Quota exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Folder:
      type: object
      properties:
        id:
          type: string
          format: uuid
        orgId:
          type: string
          format: uuid
        name:
          type: string
        parentId:
          type:
            - string
            - 'null'
          format: uuid
        color:
          type:
            - string
            - 'null'
          maxLength: 32
        visibility:
          type: string
          enum:
            - private
            - org
        createdByUserId:
          type:
            - string
            - 'null'
          format: uuid
        createdAt:
          type: string
          format: date-time
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - requestId
          properties:
            code:
              type: string
            message:
              type: string
            requestId:
              type: string
            details: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: dp_live_*

````

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