Telegram OTP

Send verification codes over Telegram with the same POST /otp/send call you use for SMS. The code travels over the internet instead of a mobile operator's network, so it costs the same in every country.

Get Your API Key Free Read the docs
$0.0120 per verification · flat rate in every countryOver data · no mobile operator in the path

Telegram OTP is for markets where your users already live in Telegram and SMS is expensive or unreliable. The user gets the code in Telegram, types it into your app, and you verify it exactly as you would an SMS code. There's nothing Telegram-specific to build.

Routing picks Telegram from the recipient and the channel order you set in your dashboard, globally or per country. See Channels & routing.

How Telegram verification works

01

Send.

Call POST /otp/send with the user’s phone number in E.164 format. If routing picks Telegram, the response says "channel": "telegram" and the OTP is pending.

{ "otp_id": "9f3c1b2a-…", "status": "pending", "channel": "telegram", "masked_recipient": "+1****71", "action_url": null, "completion": "code" }
02

The user receives the code in Telegram

on the account linked to that phone number.

03

Verify.

The user types the code into your app and you call POST /otp/verify with the otp_id and the code. A correct code sets the status to approved.

Statuses, attempts and code expiry work the same on every channel. See How verification works.

Scroll to playThe code arrives in TelegramThe user opens the chatTap to copy the codeThe user enters it in your appPhone number verified

When Telegram is a good fit

Telegram is the main messenger in your market. The code arrives in an app your users already open every day.
SMS is expensive where you send. Telegram is $0.0120 everywhere. SMS is more expensive in 189 of the 199 countries we publish rates for, and WhatsApp in 79 of them.
SMS delivery is unreliable in your markets. Telegram delivers over a data connection, so it doesn't depend on local operators accepting the message.

When it isn't the right first channel

Your users aren't on Telegram. Telegram only reaches people with a Telegram account on that phone number. Where few of your users are on Telegram, start with SMS or WhatsApp instead.
Your users often have no data connection. Telegram needs internet access; SMS doesn't.
SMS is already cheap in your market. Where SMS costs less than $0.0120, for example in Cyprus ($0.0111), Telegram doesn't save money.
You only need to verify an email address. Email OTP is $0.0012 flat, a tenth of Telegram's rate.

Fallback: put SMS behind Telegram

Telegram works best with SMS (or WhatsApp) after it in your channel order. If a code doesn't arrive, or the user never enters it, your app calls POST /otp/resend. otp.com moves the same OTP to the next channel in your order, keeping the same otp_id, and the response shows the new channel. You write no retry logic.

A resend is a new message, so it is charged as a new verification at the rate of the channel it lands on.
To move the OTP to a specific channel, name it: resend {"channel":"sms"}.
A resend inside the cooldown window returns 429 ResendCooldownError. Once attempts are used up or no enabled channel is left, it returns 409 ResendNotAllowedError.

Use Telegram where it pays, SMS everywhere else. Per-country overrides let Telegram go first only in the markets where it fits, while the rest of the world keeps your default order, with no code change. Two examples from the published rates:

COUNTRYSMSWHATSAPPTELEGRAM
Uzbekistan$0.0516$0.0136$0.0120
Russia$0.0840$0.0480$0.0120

Per verification. SMS and WhatsApp rates vary by country and route.

Telegram OTP pricing

$0.0120 per verification · every country

Telegram OTP is $0.0120 per verification sent, the same in every country, because the code doesn't go through a mobile operator. You pay from a prepaid credit balance, with no setup fee, monthly minimum or subscription.

Charged: each code sent, once. A code that doesn't arrive is still charged, because the send is what you pay for.
Charged again: every resend, at the rate of whichever channel it lands on.
MONTHLY VERIFICATIONS
🇷🇺Telegram monthly $120.00
All on SMS $840.00
SMS in Russia $0.0840 per verification Telegram first, 30% resent to SMS $372.00/mo Telegram vs SMS 86% less than SMS

The 30% resend rate is an assumption for illustration, not a measured figure. Your own rate depends on how many of your users are on Telegram. Compare it with WhatsApp for the same market on the pricing page.

Testing in the sandbox

Test keys run in the sandbox: the full send, verify and resend flow works, nothing is delivered and nothing is charged. The fixed code 123456 verifies, and any other code tests your failure path. Going live means swapping the key.

Testing in sandbox →

Frequently Asked Questions

Can I customize the message content in Telegram?

No. Telegram delivers the code in its own fixed message format, so the message text can't be changed.

Can I change the Telegram sender ID?

No. Telegram sends the code under its own name, from its Verification Codes account, not from a custom sender.

Ship verification with one prompt.

$3 free credits. No credit card. No sales call. Your first OTP in 10 minutes.

No credit card · No sales call · No subscription