Telegram · HOW IT WORKS

Verify on Telegram. Server-side, no typing required.

Send OTP codes via Telegram Bot API. Novauth resolves the phone number to a Telegram user, delivers the code, and lets your server verify it — with full status tracking, TTL control, and revocation support.

Server-side OTP · Revocable · Real-time status

code_valid · TTL 300s

request_id: 01JXTG…

POST /connect-hub/telegramLIVE
// OTP via Telegram Bot API · TTL
const res = await fetch('https://api.novauth.com/…/telegram', {
method: 'POST',
headers: { 'x-api-key': 'sk_•••' },
body: JSON.stringify({
phone_number: '+14155552671',
otp_code: '8421',
ttl: 300,
}),
});
// ← { request_id: "01J…", delivery_status: "sent" }
20101JXTG1A2B+7 916 123 45 67445 ms
20101JXTG3C4D+380 67 123 45 67612 ms
20101JXTG5E6F+48 512 345 678389 ms
BOT

phone resolved → user_id

The Telegram verification flow

From phone number entry to verified — step by step.

Live trace · loop
1
User

User taps 'Verify with Telegram' in your app

2
Your Backend

POST /telegram with phone number, OTP code, and TTL

3
Novauth

Resolves phone → Telegram User ID · validates OTP and TTL

4
Telegram Bot API

OTP delivered to user's Telegram chat via official Bot API

5
User's Telegram

Telegram notification arrives · user sees OTP code in chat

6
Verified

Server calls check-verification-status · returns code_valid or expired

API endpoint

POST /api/v1/connect-hub/telegram
View full docs

What makes it work

Server-side verification

Your server calls POST /telegram/check-verification-status with the request_id. Telegram validates the code server-side — no user input needed in some flows, reducing friction.

Revocation & TTL

Every request has a TTL (30–3600s). Call POST /telegram/revoke-verification at any time to invalidate a pending code — essential for resend flows and rate-limiting abuse.

Full delivery tracking

Responses include request_cost, remaining_balance, and delivery_status (sent → delivered → read → expired). Webhooks fire on every state change.

Add Telegram verification in minutes

$2 free credit, no credit card required. Full docs and test environment included.