PingZen Telegram Bot API

The Telegram Bot API from PingZen — 8 operation(s) for telegram bot.

GitHub OpenAPI

Operations 8

POST /api/v1/telegram/bot/webhook Telegram Bot webhook #
GET /api/v1/telegram/bot/groups List linked Telegram groups #
DELETE /api/v1/telegram/bot/groups/{group_id} Unlink Telegram group #
GET /api/v1/telegram/bot/channels List linked Telegram channels #
DELETE /api/v1/telegram/bot/channels/{group_id} Unlink Telegram channel #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pingzen-dev:pingzen-dev-telegram-bot-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pingzen-dev-telegram-bot-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PingZen Telegram Bot API
  description: Service availability monitoring platform. Monitor your websites, APIs, and services with multi-protocol support.
  version: 1.0.0
tags:
- name: Telegram Bot
paths:
  /api/v1/telegram/bot/webhook:
    post:
      tags:
      - Telegram Bot
      summary: Telegram Bot webhook
      description: Receives updates from Telegram Bot API. Verified by secret_token header.
      operationId: telegram_webhook_api_v1_telegram_bot_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Telegram Webhook Api V1 Telegram Bot Webhook Post
  /api/v1/telegram/bot/deep-link:
    get:
      tags:
      - Telegram Bot
      summary: Generate Deep Link
      description: Generate HMAC-signed Telegram Deep Link URL with 1h TTL. Requires JWT.
      operationId: get_deep_link_api_v1_telegram_bot_deep_link_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Get Deep Link Api V1 Telegram Bot Deep Link Get
      security:
      - HTTPBearer: []
  /api/v1/telegram/bot/group-deep-link:
    get:
      tags:
      - Telegram Bot
      summary: Generate Group Deep Link
      description: Generate startgroup Deep Link URL with 1h TTL. Requires JWT.
      operationId: get_group_deep_link_api_v1_telegram_bot_group_deep_link_get
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: true
        schema:
          type: integer
          description: Workspace ID to link group to
          title: Workspace Id
        description: Workspace ID to link group to
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Group Deep Link Api V1 Telegram Bot Group Deep Link Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/telegram/bot/groups:
    get:
      tags:
      - Telegram Bot
      summary: List linked Telegram groups
      description: List user's active linked Telegram groups. Requires JWT.
      operationId: list_groups_api_v1_telegram_bot_groups_get
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Filter by workspace ID
          title: Workspace Id
        description: Filter by workspace ID
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Groups Api V1 Telegram Bot Groups Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/telegram/bot/groups/{group_id}:
    delete:
      tags:
      - Telegram Bot
      summary: Unlink Telegram group
      description: Remove a linked Telegram group. Requires JWT.
      operationId: delete_group_api_v1_telegram_bot_groups__group_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: integer
          title: Group Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Delete Group Api V1 Telegram Bot Groups  Group Id  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/telegram/bot/channel-deep-link:
    get:
      tags:
      - Telegram Bot
      summary: Generate Channel Deep Link URL
      description: Returns t.me/?startchannel&admin=post_messages+delete_messages plus a one-time claim_command (/link pzlink_XXX) the user posts in the channel after promoting the bot. Telegram does not accept a token payload for ?startchannel, so we bind via channel_post text token instead of my_chat_member.from.id (which fails for users without linked telegram_id or with cross-account telegram_id). Requires JWT.
      operationId: get_channel_deep_link_api_v1_telegram_bot_channel_deep_link_get
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Workspace to bind the new channel to
          title: Workspace Id
        description: Workspace to bind the new channel to
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Channel Deep Link Api V1 Telegram Bot Channel Deep Link Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/telegram/bot/channels:
    get:
      tags:
      - Telegram Bot
      summary: List linked Telegram channels
      description: List user's active linked Telegram channels. Requires JWT.
      operationId: list_channels_api_v1_telegram_bot_channels_get
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Filter by workspace ID
          title: Workspace Id
        description: Filter by workspace ID
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Channels Api V1 Telegram Bot Channels Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/telegram/bot/channels/{group_id}:
    delete:
      tags:
      - Telegram Bot
      summary: Unlink Telegram channel
      description: Remove a linked Telegram channel. Requires JWT.
      operationId: delete_channel_api_v1_telegram_bot_channels__group_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: integer
          title: Group Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Delete Channel Api V1 Telegram Bot Channels  Group Id  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key