---
updatedAt: 2026-08-14T20:32:53.000Z
agentTools:
  projectIndex: https://docs.voiceform.com/llms.txt
---

# List folders for a team

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Voiceform Public API",
    "version": "1.0.0",
    "description": "Public REST API for Voiceform surveys, questions, actions, folders, webhooks, and results.\n\n**Authentication:** Sanctum personal access token with the `public-api-call` ability.\nThe caller's plan must include the `api_access` feature. Requests without a valid token\nor without `api_access` are rejected.\n\n**Feature gates** (plan-dependent; missing features return `{ error: { code, message, details } }`):\n- `api_access` — required for all endpoints (middleware)\n- `matrix_question` — required to create `matrix` questions\n- `file_upload` — required to create `file-upload` questions\n- `all_question_types` — when false, only basic question types are allowed\n- `dynamic_loops` — required for action type `loop`\n- `condition_scripts` — required when an action condition uses `script: true`\n\nSync this file to ReadMe manually if needed (no automated publish from this repo).\n"
  },
  "servers": [
    {
      "url": "https://app.voiceform.com/api/v1",
      "description": "Production"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Folders"
    }
  ],
  "paths": {
    "/teams/{team_id}/folders": {
      "parameters": [
        {
          "$ref": "#/components/parameters/TeamId"
        }
      ],
      "get": {
        "tags": [
          "Folders"
        ],
        "operationId": "listFolders",
        "summary": "List folders for a team",
        "responses": {
          "200": {
            "description": "Folder collection",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Folder"
                      }
                    }
                  }
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Sanctum PAT",
        "description": "Personal access token created with ability `public-api-call`.\nPlan feature `api_access` is required.\n"
      }
    },
    "parameters": {
      "TeamId": {
        "name": "team_id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "responses": {
      "Error": {
        "description": "API error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message",
              "details"
            ],
            "properties": {
              "code": {
                "type": "string",
                "examples": [
                  "forbidden",
                  "survey_not_found",
                  "matrix_question",
                  "file_upload",
                  "dynamic_loops",
                  "condition_scripts",
                  "api_access"
                ]
              },
              "message": {
                "type": "string"
              },
              "details": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "Folder": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "team_id": {
            "type": "string",
            "format": "uuid"
          },
          "parent_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "color": {
            "type": "string",
            "nullable": true,
            "description": "One of Folder label colors",
            "enum": [
              "#E53935",
              "#D81B60",
              "#8E24AA",
              "#1E88E5",
              "#00ACC1",
              "#00897B",
              "#43A047",
              "#FDD835",
              "#FF9800",
              "#795548"
            ]
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      }
    }
  }
}
```