---
title: "Bind a Telegram bot to a workspace"
method: POST
path: "/api/workspaces/{id}/im/telegram/configure"
tags: ["IM Channels"]
---

# Bind a Telegram bot to a workspace

`POST /api/workspaces/{id}/im/telegram/configure`

## Path parameters

- `id` string, required

## Request body

- IMTelegramConfigureRequest
  - `bot_token` string, required

## Response `200`

OK

- IMTelegramConfigureResponse
  - `bot_id` string, required
  - `connected` boolean, required

## Other responses

- `400` — invalid bot token
- `403` — not a member
- `500` — internal error

## Changes

- **2026-05-22** `97b456128ba9` — 1 info
  - endpoint added
- **2026-05-22** `1ba39f384b63` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agentserver/apis/agentserver-api/changes/api/workspaces/:id/im/telegram/configure/post.md)

---

[API](https://skmtc.dev/agentserver/apis/agentserver-api.md) · [All operations](https://skmtc.dev/agentserver/apis/agentserver-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentserver/agentserver-api/revisions/e8c329825b4e/schema)
