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

# List Folders

> Get every folder path in storage, for building a folder picker

Returns every folder path in storage in one call, which is what powers "Move to" folder pickers.

```
GET /storage/folders
```

```bash theme={null}
curl https://cdn.openinary.dev/storage/folders \
  -H "Authorization: Bearer <api_key>"
```

**Auth:** API Key required

## Response

```json theme={null}
{
  "folders": ["archive", "photos", "photos/2024"]
}
```

| Field | Type | Description |
| - | - | - |
| `folders` | `string[]` | Every folder path, relative to the storage root, sorted alphabetically. |

## Related

> [card] [Move File or Folder](https://docs.openinary.dev/api-reference/storage/move.md)
>
> Move a file or folder into one of these destinations.

> [card] [List Storage](https://docs.openinary.dev/api-reference/storage/list.md)
>
> Browse the full file and folder tree.


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