VerifyWay sends one-time passwords through Telegram Gateway, Telegram's official service for verification codes. You can use it on its own, or as an automatic backup when a WhatsApp code can't be delivered. It uses the same API, the same key and the same wallet as WhatsApp.
How your users receive the code
The code arrives in Telegram's own Verification Codes chat, sent by Telegram itself. Your users don't need to follow a bot, join a channel or install anything new. If the phone number has a Telegram account, the code simply appears there.
- Trusted sender: the message comes from Telegram's official verification chat, not from a random number.
- No SMS filtering: no sender ID registration and no carrier blocking.
- Delivery status: you get delivered, read, failed and expired updates on your webhook.
Price: $0.02 in every country
A Telegram code costs $0.02 per delivered message in all 251 countries we cover. That makes it easy to budget, especially for countries where WhatsApp authentication is expensive. Messages that fail are refunded to your wallet, so you only pay for codes that arrive.
Compare it with the WhatsApp price in your country on the pricing page, or estimate a monthly bill with the cost calculator.
Send a Telegram OTP
Use the normal send endpoint and set "channel": "telegram". Your server generates the code; Telegram accepts 4 to 8 digits, sent as a string.
curl -X POST 'https://api.verifyway.com/api/v1' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: signup-otp-001' \
-d '{
"recipient": "+9647701234567",
"type": "otp",
"channel": "telegram",
"code": "4829"
}'
HTTP 200 means the request was accepted, not yet delivered. Save the message_id and wait for the status on your webhook. Examples in Node.js, PHP, Python, C#, Java and Go are in the API documentation.
Automatic fallback between WhatsApp and Telegram
Add "fallback": "yes" to a request and VerifyWay tries the other channel when the first one fails:
- The second channel is only tried after the first attempt fails. It is not sent twice at once.
- The failed attempt is refunded; you pay for the channel that delivered.
- Both attempts share one
message_id, and each reports its own status on your webhook. - It works in both directions: WhatsApp first with Telegram as backup, or the other way round.
Read more on the automatic fallback page.
Telegram or WhatsApp?
| Feature | Telegram OTP | WhatsApp OTP |
|---|---|---|
| Price | $0.02 everywhere | Depends on the country |
| Where the code appears | Telegram's Verification Codes chat | A verified business profile, with a copy button |
| Code length | 4–8 digits | Digits, up to 20 |
| Best for | Flat pricing, Telegram-heavy markets, backup | Most users worldwide, first choice |
Most teams send WhatsApp first and enable fallback, so users without WhatsApp still get their code on Telegram.
Frequently asked questions
Does the user need to do anything in Telegram?
No. If the number has a Telegram account, the code arrives in the Verification Codes chat automatically.
What happens if the number has no Telegram account?
The attempt fails and is refunded. With fallback enabled, VerifyWay tries WhatsApp instead.
Can I use the same API key for Telegram and WhatsApp?
Yes. One key, one wallet and one endpoint for both channels; only the channel field changes.
Send your first OTP today
Top up from $10, get your API key and send a code in minutes.
Create account