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

# List folders

> Returns all folders in a workspace, ordered by position then name.

<Info>
  Requires the `folders:read` scope. You must be a member of the workspace.
  Access-restricted members only receive folders they have been explicitly
  granted access to.
</Info>

## Path parameters

<ParamField path="id" type="string" required>
  The numeric workspace ID.
</ParamField>

## Response

Returns an array of folder objects.

<ResponseField name="id" type="number" required>
  Folder identifier.
</ResponseField>

<ResponseField name="workspace_id" type="number" required>
  ID of the workspace this folder belongs to.
</ResponseField>

<ResponseField name="name" type="string" required>
  Folder name.
</ResponseField>

<ResponseField name="icon" type="string | null">
  Icon identifier slug (e.g., `"folder-1"`, `"folder-2"`, `"library"`). `null`
  if not set.
</ResponseField>

<ResponseField name="color" type="string | null">
  Folder color.
</ResponseField>

<ResponseField name="position" type="number" required>
  Numeric sort position. Folders are ordered by this value ascending.
</ResponseField>

<ResponseField name="created_at" type="string" required>
  UTC ISO-8601 creation timestamp.
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "id": 10,
      "workspace_id": 3,
      "name": "Engineering",
      "icon": "folder-1",
      "color": "blue",
      "position": 1,
      "created_at": "2026-01-10T12:00:00.000Z"
    },
    {
      "id": 11,
      "workspace_id": 3,
      "name": "Design",
      "icon": "folder-2",
      "color": "purple",
      "position": 2,
      "created_at": "2026-01-12T09:30:00.000Z"
    }
  ]
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 403 theme={null}
  {
    "error": "Scope 'folders:read' is required for this endpoint"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Workspace not found"
  }
  ```
</ResponseExample>
