---
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

---

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