Skip to main content
This page is for administrators who operate the Alphscan Telegram bot: webhook configuration and managing bot admins. For user features (getting an API key, using the bot), see Telegram bot (user) in the Introduction tab.

Webhook

The API exposes the public webhook endpoint used by Telegram to send updates to the bot:
  • POST /telegram/webhook — receives Telegram updates. Configure this URL as the bot’s webhook in the Telegram Bot API.
This endpoint is public (no API key). Only Telegram’s servers should post to it. In deployment, set TELEGRAM_BOT_TOKEN and the public API base URL so the bot Lambda or handler can validate and process updates.

Admin management

With an admin API key you can manage who has Telegram bot admin rights:
  • GET /system/telegram/admins — list current Telegram admins
  • POST /system/telegram/admins/add — add an admin
  • POST /system/telegram/admins/remove — remove an admin
See the API reference tab (Swagger) under the Telegram tag for request/response schemas.
  • Generate API key — How to obtain or create API keys (admin portal, Telegram, or API).