OTP Verify

Verification API for Cambodia

Verification API · Cambodia

Verification codes for Cambodia, in one API.

OTP Verify delivers one-time codes over Telegram — where Cambodia already chats. Your app makes one call; we handle delivery, expiry and security.

Free trial credit included · top up by KHQR · live in minutes, no sales call

How it works

Three steps. That's the whole integration.

1
Send a code

Your backend calls POST /api/v1/verifications with your API key and gets back a Telegram deep link.

2
Your user receives it

Show the link to your user — they tap Start in our bot and the 6-digit code lands in seconds.

3
Check the code

The user types the code into your app; your backend calls check and gets { "approved": true }.

curl -X POST https://kodifi.online/api/v1/verifications \ -H "x-api-key: otp_live_YOUR_KEY" \ -H "content-type: application/json" \ -d '{"channel":"telegram","destination":"myapp-<unique per user>"}' # → 201 { "id": "…", "status": "awaiting_start", # "deep_link": "https://t.me/otp_verify_kh_bot?start=…" }
Why OTP Verify

Built for how Cambodia actually works.

Telegram-first

The messenger your users already open all day. Codes land in seconds, at near-zero cost — so your price stays tiny.

Security built in

Codes are hashed, expire in 10 minutes and lock after 5 wrong tries. Rate limits stop abuse before it costs you.

Pay only for sends

One wallet for everything. Top up by Bakong KHQR — credited automatically — and your balance only moves when a code is sent.

Self-serve, start to finish

Sign up, verify yourself with Telegram, get your key, send. No sales calls, no paperwork, no waiting on anyone.

Channels

One API, every channel.

LIVE

Telegram

Delivered by our bot, inside the app your users already live in.

$0.01 per verification
SOON

SMS

The universal fallback for any phone, on any carrier. Joining the same API.

$0.05 per send
SOON

WhatsApp

On the official WhatsApp Business platform, joining the same API.

Same API, same request
SOON

Email

A code in the inbox — the universal backup channel, on the same API.

$0.01 per verification
SOON

Voice call

An automated call reads the code aloud — any phone, no internet needed.

$0.30 per call
SOON

Messenger

Codes inside Facebook Messenger — where Cambodia shops, chats and runs its business.

$0.01 per verification
Pricing

Pay as you go. Nothing else.

One balance, every channel

It only moves when a code is actually sent.

✓ Telegram — $0.01 per verification
✓ SMS — $0.05 per send (launching soon)
✓ Email — $0.01 per verification (launching soon)
✓ Messenger — $0.01 per verification (launching soon)
✓ Voice call — $0.30 per call (launching soon)
✓ Top up by Bakong KHQR, credited automatically
✓ No monthly fee · full API from day one
New accounts receive free trial credit — no card, no sales call.
Create free account →
API reference

For developers — the real endpoints.

Every request carries your API key in the x-api-key header. You get your key the moment you create a free account.

Send a code (Telegram)

curl -X POST https://kodifi.online/api/v1/verifications \ -H "x-api-key: otp_live_YOUR_KEY" \ -H "content-type: application/json" \ -d '{"channel":"telegram","destination":"myapp-<unique per user>"}' # → 201 { "id": "…", "status": "awaiting_start", # "deep_link": "https://t.me/otp_verify_kh_bot?start=…" }

Other channels — same call, two values change

For email, SMS, WhatsApp and voice there is no Start step — the code is sent the moment you call. Messenger is the exception — like Telegram, the reply carries a link (m.me) and the code is sent when the user taps Get Started. Set channel and give the matching destination: an email address for email, a phone number in full international format for the rest.

curl -X POST https://kodifi.online/api/v1/verifications \ -H "x-api-key: -H "content-type: application/json" \ -d '{"channel":"email","destination":"user@example.com"}' # → 201 { "id": "…", "status": "pending" } — no deep_link; # check the code exactly as below. For "sms", "whatsapp" and # "voice", the destination is a phone number: "+85512345678". # Channels switch on one by one — one that isn't live yet # answers 501 "not available yet" and nothing is charged.

Check the code the user typed

curl -X POST https://kodifi.online/api/v1/verifications/THE_ID/check \ -H "x-api-key: otp_live_YOUR_KEY" \ -H "content-type: application/json" \ -d '{"code":"123456"}' # → 200 { "approved": true, "status": "approved" }

Resend a fresh code

The old code stops working the moment a new one is sent.

curl -X POST https://kodifi.online/api/v1/verifications/THE_ID/resend \ -H "x-api-key: otp_live_YOUR_KEY" # → 200 { "id": "…", "status": "pending" }

Check a verification's status

curl https://kodifi.online/api/v1/verifications/THE_ID \ -H "x-api-key: otp_live_YOUR_KEY" # → 200 { "id": "…", "status": "approved", … } # status: awaiting_start · pending · approved · expired · locked
Codes expire in 10 minutes. Five wrong attempts lock a verification. Use a unique destination label per user or session — rate limits apply per destination (5 per hour), and every send is counted in your usage.
FAQ

Questions, answered.

What is OTP Verify?

A verification service for apps and websites in Cambodia. Your product sends one API request; we deliver a one-time code to your user and tell you if they entered it correctly.

How does Telegram OTP work?

Your user taps a link, presses Start in our Telegram bot, and receives the 6-digit code in seconds. They type it into your app, and your backend asks us if it's right.

What if a user has no Telegram?

Almost everyone in Cambodia has it — and SMS is joining the same API soon as the automatic fallback, with no change to your integration.

How do I pay?

Top up your balance by Bakong KHQR from any banking app. It's credited automatically within a minute, and your balance only drops when a code is sent.

Ready to verify your first user?

Create your account, grab your key, and your first code is on its way.