# What each channel supports

GET /v1/channels/capabilities — What each channel supports

| Method | Path | Scope | MCP action |
| --- | --- | --- | --- |
| `GET` | `/v1/channels/capabilities` | `tickets:read` | `list_channel_capabilities` |

## Description

Per channel type: what can be sent (text, files and their kinds and sizes), the text limit, the reply window and what may go out after it, the actions on public items and the delivery statuses reported; and, per conversation kind, the composer, the text limit in the unit the channel counts, each file kind’s limits, the private reply, message actions, the identity, how a ticket may be started and whether the AI agent may reply. The composer offers only these.

## Authentication

Send `Authorization: Bearer <key>` with an API key or OAuth app that holds the scope `tickets:read`. A test key `rbk_test_…` works on the test space and reaches no customer.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Rabt-Organization` | header | `string (uuid)` | no | The organization the request acts in (its id). Needed with a session, and with a personal key or app that acts in several organizations (`API-8155`); it must be one of the credential's (`API-8105`). |

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | The capabilities. | `ChannelCapabilitiesList` |
| `400` | `AUTH-1041`: no organization was named (send its id in the `Rabt-Organization` header). `API-8155`: the personal key or app acts in several organizations and the request named none. | `ProblemDetails` |
| `401` | `AUTH-1001`: not signed in, or the session has ended. `API-8101`: the API key or access token is not valid. | `ProblemDetails` |
| `403` | `AUTH-1040`: you are not a member of the organization named. `API-8102`: the API key or app lacks the `tickets:read` scope. `API-8105`: the `Rabt-Organization` header names an organization the API key or app does not act in. | `ProblemDetails` |
| `422` | `API-8001`: some fields are missing or not valid. `details.fields` lists each invalid field with its own code (e.g. `API-8002` required, `API-8012` wrong format). | `ProblemDetails` |
| `429` | `API-8004`: a rate limit quota is used up (see `RateLimit`). Try again after `Retry-After` seconds. | `ProblemDetails` |
| `default` | Any other error, with its code: e.g. `API-8005` the body is not valid JSON, `API-8006` the body is too large, `API-8007` the body is not JSON, `API-8008` no such endpoint, `API-8009` the request cannot be read, `API-8010` the request took too long, `API-8022` or `API-8023` the body compression or character set is not supported, `AUTH-1014` a change sent with the session cookie (or a sign-in) that does not come from a Rabt web page, `SYS-1002` or `SYS-1011` a dependency is unreachable, `SYS-1041` the organization is using its full share of the server, `SYS-1042` the server is overloaded (retry after `Retry-After`), `SYS-1070` Rabt is in read-only mode during an incident (changes are refused; reading works), `SYS-1071` a non-essential feature (search) is paused during an incident, `SYS-9000` an unexpected error. | `ProblemDetails` |

### Response example (200)

```json
{
  "data": [
    {
      "channel_type": "whatsapp",
      "kinds": [
        "private"
      ],
      "composer": "chat",
      "send": {
        "text": true,
        "media": [
          "image"
        ],
        "location": true,
        "contacts": true,
        "poll": true,
        "poll_limits": {
          "min_options": 1,
          "max_options": 1,
          "option": 1,
          "question": 1
        },
        "share": true,
        "heart": true,
        "interactive": true,
        "reaction": true,
        "quote": true,
        "template": true,
        "email": true
      },
      "max_text_length": 1,
      "max_attachment_bytes": 1,
      "reply_window": {
        "hours": 1,
        "outside": "template"
      },
      "public_actions": [
        "reply"
      ],
      "statuses": [
        "sent"
      ],
      "conversations": {
        "private": {
          "composer": "chat",
          "text": {
            "max": 1,
            "unit": "code_points"
          },
          "caption_max": 1,
          "media": [
            {
              "kind": "image",
              "max_bytes": 1,
              "mime_types": [
                "example"
              ],
              "caption": true
            }
          ],
          "max_attachments": 1,
          "max_total_bytes": 1,
          "voice_note": true,
          "fixed_subject": true,
          "limit_codes": {
            "text": "Hello, how can we help?",
            "attachments": "example"
          },
          "album": {
            "kinds": [
              "image"
            ],
            "max_items": 1
          },
          "preparation": {
            "id": "example",
            "image": {
              "accept": [
                "example"
              ],
              "max_bytes": 1,
              "max_bytes_by_type": {
                "key": 1
              },
              "stickers": {
                "accept": [
                  "example"
                ],
                "max_bytes": 1
              }
            },
            "video": {
              "accept": [
                "example"
              ],
              "max_bytes": 1,
              "max_duration_ms": 1,
              "max_width": 1,
              "max_height": 1,
              "codecs": {
                "video": [
                  "example"
                ],
                "audio": [
                  "example"
                ]
              }
            },
            "audio": {
              "accept": [
                "example"
              ],
              "max_bytes": 1,
              "codecs_by_type": {
                "key": [
                  "example"
                ]
              },
              "target": "ogg_opus"
            },
            "document": {
              "accept": [
                "example"
              ],
              "max_bytes": 1
            }
          }
        },
        "public": {
          "composer": "chat",
          "text": {
            "max": 1,
            "unit": "code_points"
          },
          "caption_max": 1,
          "media": [
            {
              "kind": "image",
              "max_bytes": 1,
              "mime_types": [
                "example"
              ],
              "caption": true
            }
          ],
          "max_attachments": 1,
          "max_total_bytes": 1,
          "voice_note": true,
          "fixed_subject": true,
          "limit_codes": {
            "text": "Hello, how can we help?",
            "attachments": "example"
          },
          "album": {
            "kinds": [
              "image"
            ],
            "max_items": 1
          },
          "preparation": {
            "id": "example",
            "image": {
              "accept": [
                "example"
              ],
              "max_bytes": 1,
              "max_bytes_by_type": {
                "key": 1
              },
              "stickers": {
                "accept": [
                  "example"
                ],
                "max_bytes": 1
              }
            },
            "video": {
              "accept": [
                "example"
              ],
              "max_bytes": 1,
              "max_duration_ms": 1,
              "max_width": 1,
              "max_height": 1,
              "codecs": {
                "video": [
                  "example"
                ],
                "audio": [
                  "example"
                ]
              }
            },
            "audio": {
              "accept": [
                "example"
              ],
              "max_bytes": 1,
              "codecs_by_type": {
                "key": [
                  "example"
                ]
              },
              "target": "ogg_opus"
            },
            "document": {
              "accept": [
                "example"
              ],
              "max_bytes": 1
            }
          }
        }
      },
      "window": {
        "hours": 1,
        "free_entry_hours": 1,
        "tag": {
          "hours": 1,
          "human_only": true
        },
        "budget": {
          "max_messages": 1,
          "exceeded": "example"
        },
        "outside": "template",
        "enforced": "queue",
        "codes": {
          "closed": "example",
          "automatic_closed": "example"
        }
      },
      "private_reply": {
        "within_hours": 1,
        "per_comment": 1,
        "text_only": true,
        "codes": {
          "already_sent": "example",
          "expired": "example",
          "not_a_comment": "example",
          "text_only": "example"
        }
      },
      "thread_context": {
        "max_items": 1
      },
      "private_conversation": {
        "via": "private_reply"
      },
      "actions": {
        "reaction": {
          "send": true,
          "receive": true
        },
        "typing": {
          "send": true,
          "with_read": true,
          "from_room": true
        },
        "mark_read": true,
        "edits": {
          "receive": true,
          "new_id": true,
          "own": true,
          "own_window_minutes": 1
        },
        "deletes": {
          "receive": true,
          "own": {
            "private": [
              "for_me"
            ],
            "public": [
              "for_me"
            ]
          }
        },
        "media_retry": {
          "kept_hours": 1
        }
      },
      "identity": "phone",
      "starts_with": "any",
      "ai_replies": true,
      "exclusive_account": true,
      "block_by_handle": true,
      "profile_photo": true,
      "phone_addressed": true,
      "end_to_end": {
        "source_ref_prefix": "example"
      },
      "group_chats": true,
      "replies_by_email": true,
      "replies_via": "contact_channels",
      "threading": "thread",
      "public_tickets": "conversation",
      "max_poll_gap_hours": 1,
      "catch_up": true
    }
  ]
}
```

## Errors

| Status | Errors |
| --- | --- |
| `400` | [AUTH-1041](/errors/AUTH-1041), [API-8155](/errors/API-8155) |
| `401` | [AUTH-1001](/errors/AUTH-1001), [API-8101](/errors/API-8101) |
| `403` | [AUTH-1040](/errors/AUTH-1040), [API-8102](/errors/API-8102), [API-8105](/errors/API-8105) |
| `422` | [API-8001](/errors/API-8001), [API-8002](/errors/API-8002), [API-8012](/errors/API-8012) |
| `429` | [API-8004](/errors/API-8004) |
| `default` | [API-8005](/errors/API-8005), [API-8006](/errors/API-8006), [API-8007](/errors/API-8007), [API-8008](/errors/API-8008), [API-8009](/errors/API-8009), [API-8010](/errors/API-8010), [API-8022](/errors/API-8022), [API-8023](/errors/API-8023), [AUTH-1014](/errors/AUTH-1014), [SYS-1002](/errors/SYS-1002), [SYS-1011](/errors/SYS-1011), [SYS-1041](/errors/SYS-1041), [SYS-1042](/errors/SYS-1042), [SYS-1070](/errors/SYS-1070), [SYS-1071](/errors/SYS-1071), [SYS-9000](/errors/SYS-9000) |

## Call it

```bash
curl -X GET 'https://api.rabt.systems/v1/channels/capabilities' \
  -H "Authorization: Bearer $RABT_API_KEY"
```

## Through MCP

The action `list_channel_capabilities` is the same operation with the same permissions and errors (see the [MCP guide](/developers/docs/connect/mcp)).

```json
{
  "action": "list_channel_capabilities",
  "params": {}
}
```
