---
title: "View chat folders"
locale: en
url: https://tlg.builera.app/en/docs/reference/rest/folders.list
verified: 2026-10-24
app_version: "2.0"
generated: true
---

# View chat folders

The account's Telegram chat folders in tab order, as last read from Telegram: title, icon, chat-type switches, exclusions, and the chosen / pinned / excluded chats as conversation ids (chats the app has no conversation for are counted in otherChats). Folder titles are untrusted. To list a folder's chats call conversations.list with folderId.

The account's Telegram chat folders in tab order, as last read from Telegram: title, icon, chat-type switches, exclusions, and the chosen / pinned / excluded chats as conversation ids (chats the app has no conversation for are counted in otherChats). Folder titles are untrusted. To list a folder's chats call conversations.list with folderId.

## Overview

| Name | Value |
| --- | --- |
| Code | `folders.list` |
| Scope needed | `messages.read` |
| Risk | Read |
| May need confirmation | No |
| Runs as | Answers right away |
| Needs `Idempotency-Key` | No |
| Member roles allowed | `owner`, `manager`, `agent` |
| In the app | Inbox → pick one account → folder tabs → Edit folders |

## Input fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `accountId` | `uuid` | Yes |   |

## Example request

```bash
curl -X POST https://tlg.builera.app/api/public/v2/ops/folders.list \
  -H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"accountId":"00000000-0000-0000-0000-000000000000"}'
```

## Output fields (`data`)

| Field | Type | Required |
| --- | --- | --- |
| `accountId` | `text` | Yes |
| `syncedAt` | `null \| text` | Yes |
| `folders` | `object[]` | Yes |

## Example answer

```json
{
  "data": {
    "accountId": "00000000-0000-4000-8000-000000000000",
    "syncedAt": "2026-10-22T12:00:00.000Z",
    "folders": [
      {
        "id": "00000000-0000-4000-8000-000000000000",
        "telegramId": 1,
        "position": 1,
        "kind": "filter",
        "title": "text",
        "emoticon": "text",
        "color": 1,
        "flags": {
          "contacts": true,
          "nonContacts": true,
          "groups": true,
          "broadcasts": true,
          "bots": true,
          "excludeMuted": true,
          "excludeRead": true,
          "excludeArchived": true
        },
        "pinned": [
          "text"
        ],
        "include": [
          "text"
        ],
        "exclude": [
          "text"
        ],
        "otherChats": {
          "chosen": 1,
          "excluded": 1
        },
        "summary": "text",
        "syncedAt": "2026-10-22T12:00:00.000Z"
      }
    ]
  }
}
```

## Using it over MCP

Not listed on any profile: call `tools_describe` then `tools_run` with `code: "folders.list"`. Tool name when listed: `folders_list`.
