---
title: "Telegram bots connected to a workspace"
method: GET
path: "/api/v1/workspaces/{workspaceId}/telegram-bots"
tags: ["Telegram bots"]
---

# Telegram bots connected to a workspace

`GET /api/v1/workspaces/{workspaceId}/telegram-bots`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/workspaces/{workspaceId}/telegram-bots`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` integer, required

## Response `200`

OK

- ListOutputBody1
  - `items` TelegramBotBody[], nullable, required
    - `created_at` string, date-time, required
    - `id` string, required
    - `last_error` string, required
    - `status` 'active' | 'disabled' | 'invalid', required
    - `username` string, required

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
