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.
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
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" } The user receives the code in Telegram
on the account linked to that phone number.
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.
When Telegram is a good fit
When it isn't the right first channel
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.
resend {"channel":"sms"}.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:
Per verification. SMS and WhatsApp rates vary by country and route.
Telegram OTP pricing
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.
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.
The other channels
The same API calls cover all four channels, so you can put more than one in your order and let routing pick.
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