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

# List Organization Folders

> List DialNexa organization folders with search and pagination so integrations can resolve folder IDs before reading or organizing agents.

<span data-api-safety-label="read-only"><Badge color="gray" size="sm" shape="pill">Read only</Badge></span>

List organization folders to resolve the folder IDs and names available in the authenticated workspace. The operation returns active folders only and sorts them from oldest to newest.

## When to list organization folders

* Resolve a folder ID before filtering or organizing agents.
* Build a folder picker without hard-coding workspace-specific IDs.
* Confirm that a folder exists before reading its details.

## Query parameters

| Parameter | Description                                            |
| --------- | ------------------------------------------------------ |
| `search`  | Optional case-insensitive folder name search.          |
| `page`    | Page number starting from 1. Defaults to 1.            |
| `limit`   | Results per page. Defaults to 20 and cannot exceed 50. |

## Verify the result

Use the `folders` array to read each folder's `id` and `name`. The response also includes the applied `page` and `limit` values. An empty `folders` array means no active folder matched the request.

## Errors and recovery

* `401 Unauthorized` means the API key is missing or invalid.
* `404 Not Found` means the authenticated organization no longer exists.
* A validation error means `page` or `limit` is outside the supported range. Correct the query before retrying.

## Related endpoints

* [Get Organization Folder](/docs/api-reference/v1/organization-folders/get): read one folder by ID.
* [List Agents](/docs/api-reference/v1/agents/list): list the agents that can be organized into folders.
* [Agent folders](/docs/agents/agent-folders): organize agents in the dashboard.


## OpenAPI

````yaml GET /v1/organization-folders
openapi: 3.0.0
info:
  title: DialNexa API
  description: Public `/v1` REST API for the DialNexa voice AI platform.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: Agents
  - name: Batch Calls
  - name: Calls
  - name: Knowledge Base
  - name: Languages
  - name: LLMs
  - name: Phone Numbers
  - name: Transcribers
  - name: Webhooks
  - name: Voices
  - name: Workflows
  - name: Workflow Leads
paths:
  /v1/organization-folders:
    get:
      tags:
        - Organization Folders
      summary: List Organization Folders
      description: >-
        Returns active folders for the authenticated organization with optional
        search and pagination.
      operationId: listOrganizationFolders
      parameters:
        - name: search
          required: false
          in: query
          description: Case-insensitive folder name search.
          schema:
            type: string
            example: Sales
        - name: page
          required: false
          in: query
          description: Page number starting from 1.
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: limit
          required: false
          in: query
          description: Results per page. Maximum 50.
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 20
      responses:
        '200':
          description: Organization folders returned successfully.
          content:
            application/json:
              schema:
                type: object
                required:
                  - folders
                  - page
                  - limit
                properties:
                  folders:
                    type: array
                    items:
                      $ref: '#/components/schemas/OrganizationFolder'
                  page:
                    type: integer
                    example: 1
                  limit:
                    type: integer
                    example: 20
        '401':
          description: Unauthorized - missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Authenticated organization not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearer: []
components:
  schemas:
    OrganizationFolder:
      type: object
      properties:
        id:
          type: string
          example: fld_abc123xyz789
        organization_id:
          type: string
          example: org_abc123xyz789
        name:
          type: string
          maxLength: 35
          example: Sales Agents
        is_deleted:
          type: boolean
          example: false
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - organization_id
        - name
        - is_deleted
        - created_at
        - updated_at
    ErrorResponse:
      type: object
      properties:
        statusCode:
          type: integer
          example: 400
        message:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
          example: phone_number must be a valid E.164 phone number
        error:
          type: string
          example: Bad Request
      required:
        - statusCode
        - message
        - error
  securitySchemes:
    bearer:
      scheme: bearer
      type: http

````