Skip to content

Use case

For Telegram projects

User verification when Telegram is the main or preferred delivery channel.

Quick Answer

For Telegram projects set the telegram channel in the Cascade API or use a cascade. The code goes to the user’s number; verification is via /otp/verify.

Summary

Cascade can send OTP in Telegram (and cascade to other channels). This is outbound delivery to the user’s number, not bot emulation of login into someone else’s Telegram.

Key Takeaways

  • The telegram channel ≠ renting a number to register in Telegram.
  • API key only on the server.
  • Fallback: WhatsApp or SMS.

Task

You need OTP for a product where users live in Telegram (bots, mini-apps, services with a TG audience).

How to use Cascade

  1. Get a Bearer key.
  2. Call POST /otp/send with the phone; set channel telegram when needed.
  3. The user reads the code in Telegram.
  4. Verify with POST /otp/verify.

If Telegram is unavailable — a cascade may fall back to WhatsApp/SMS (see token billing on /pricing).

Important not to confuse

Need Is Cascade a fit?
OTP to your user in TG Yes
Rent a number to create a Telegram account No — see /faq/kak-ne-putat-s-sms-activate

FAQ: /faq/mozhno-li-telegram. Integration: /use-cases/developers, /docs.

FAQ

Will this help register Telegram accounts?
No. Cascade does not rent virtual numbers. It sends OTP to your users.
How to choose a channel?
If the audience is in TG — telegram; otherwise a WhatsApp/Telegram cascade with SMS as fallback.