---
title: "List folders"
method: GET
path: "/mailboxes/{address}/folders"
tags: ["Mail"]
---

# List folders

`GET /mailboxes/{address}/folders`

## Request

- Base URL: `https://faivelo.com/api/v1`
- URL: `https://faivelo.com/api/v1/mailboxes/{address}/folders`
- Auth: HTTP bearer

Returns all IMAP folders for the mailbox, with message counts. Requires scope `mail:read`.

## Path parameters

- `address` string, required

## Response `200`

Folder list

- object
  - `success` boolean
  - `data` Folder[]
    - `path` string
    - `name` string
    - `specialUse` string
    - `messages` integer
    - `unseen` integer

## Other responses

- `401`: Missing or invalid API key
- `402`: The account's plan does not include the API (`plan_required`)
- `403`: The key lacks the required scope
- `404`: Resource not found
- `429`: Rate limit exceeded

---

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