Clean APIs, predictable responses, and docs that keep you moving. Go from zero to production in an afternoon.
npm install nepalotp
import NepalOTP from "nepalotp"
const client = new NepalOTP({ apiKey: "sk_live_..." })
await client.otp.send({
phone: "+9779812345678",
channel: "sms"
})
SDKs
Node, Python, PHP
CLI
Local testing
Tooling
From sandbox testing to production monitoring, keep control of every send.
Full API access with predictable test responses.
Delivery callbacks for sent, delivered, failed.
Generate keys, test sends, inspect logs.
Rate limits, expiry, idempotency built-in.
Delivery metrics and verification analytics.
Examples, edge cases, and guides.
API clarity
Two endpoints cover the entire verification flow: send an OTP, then verify it. Every response includes status, timestamps, and clear error codes.
{
"id": "otp_9x8k2m3n4p5q",
"status": "verified",
"verified_at": "2024-01-15T10:02:34Z"
}
Latency
<2s average
Retries
Safe defaults
Start in sandbox, connect to production when ready.