---
title: "Connect a Telegram channel"
method: POST
path: "/api/v1/channels/connect/telegram"
tags: ["channels"]
---

# Connect a Telegram channel

`POST /api/v1/channels/connect/telegram`

## Request

- Base URL: `https://api.cadencz.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cadencz.com/api/v1/channels/connect/telegram`
- Auth: HTTP bearer

Validates a Telegram bot token and target chat, then stores the token encrypted. The bot must be an admin of the channel/group.

## Request body

- TelegramConnectRequest
  - `bot_token` string, required: Bot token from @BotFather.
  - `chat_id` string, required: Target channel/group — @username or numeric chat id. The bot must be an admin.
  - `display_name` string, nullable: Optional label.

## Response `200`

Successful Response

- ChannelRead
  - `id` string, required
  - `workspace_id` string, required
  - `platform` string, required
  - `handle` string, required
  - `display_name` string, nullable, required
  - `avatar_url` string, nullable, required
  - `status` string, required
  - `byo_app` boolean, required
  - `token_expires_at` string, date-time, nullable, required
  - `followers` integer, required
  - `capabilities` object
  - `plan_entitled` boolean
  - `entitlement_status` 'available' | 'plan_paused' | 'disconnected'
  - `plan_pause_reason` 'plan_required' | 'workspace_limit' | 'platform_limit', nullable

## Other responses

- `401`: Missing or invalid Supabase bearer token.
- `422`: Validation Error
- `502`: The upstream provider rejected the request.

---

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