---
title: "List folders"
method: GET
path: "/folders"
---

# List folders

`GET /folders`

## Request

- Base URL: `https://www.useanyfile.com/api/v1`
- URL: `https://www.useanyfile.com/api/v1/folders`
- Auth: HTTP bearer

## Query parameters

- `cursor` string
- `limit` integer

## Response `200`

A page of folders

- object
  - `data` Folder[], required
    - `id` string, required
    - `name` string, required
    - `createdAt` string, date-time
    - `fileCount` integer, required
    - `requestCount` integer, required
  - `pagination` Pagination, required
    - `nextCursor` string, nullable, required

## Other responses

- `400`: Structured AnyFile API error
- `401`: Structured AnyFile API error
- `403`: Structured AnyFile API error
- `404`: Structured AnyFile API error
- `409`: Structured AnyFile API error
- `429`: Structured AnyFile API error

---

[API](https://skmtc.dev/useanyfile/apis/anyfile-rest-api.md) · [All operations](https://skmtc.dev/useanyfile/apis/anyfile-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useanyfile/apis/anyfile-rest-api/revisions/bad3e5a8e395?raw)
