Ship phone‑OTP login without the legwork.
One SDK per stack, one REST API, one drop-in dashboard. Drop QuickAuth into a new product in under five minutes — or swap in for your existing OTP / messaging provider without rewriting your flow.
30-second taste
The web SDK is the smallest surface — install, initialize with your publishable key, send and verify an OTP. Pick the SDK page that matches your stack for everything else.
import { QuickAuth } from '@quick-auth/web-sdk'
QuickAuth.init({
publishableKey: 'pk_live_…',
onAuthEvent: (event) => {
if (event.type === 'OTP_SENT') showOtpInput()
if (event.type === 'OTP_FAILED') showError(event.message)
if (event.type === 'VERIFIED') confirmOnServer(event.requestId)
},
})
await QuickAuth.auth.initiate({ phone: '+919876543210', channel: 'auto' })
await QuickAuth.auth.submitOtp('123456')Start with your stack
@quick-auth/web-sdk
React, Vue, vanilla — anything that runs JavaScript. WebOTP API for SMS auto-fill.
npm install @quick-auth/web-sdkReact Native@quick-auth/react-native-sdk
Native SMS Retriever on Android, system one-time-code on iOS. Pre-built UI included.
npm install @quick-auth/react-native-sdkiOS · SwiftQuickAuthIn
SwiftUI + UIKit components, SPM and CocoaPods. Pure Swift, no third-party deps.
pod 'QuickAuthIn', '~> 1.1.0'Android · Kotlinin.quickauth:sdk
Jetpack Compose components, SMS Retriever auto-fill (no permission prompt).
implementation('in.quickauth:sdk:1.1.0')Flutter · Dartquickauth
iOS + Android native bridges, Material widgets. Single Dart package.
flutter pub add quickauth5 minutesQuickstart guide
Pick your stack and follow a focused install → initialize → first OTP walkthrough.
Server-side
Your mobile and web apps never embed client_secret. Your backend mints short-lived sessionTokens on demand — same pattern Twilio Verify and Stripe use for mobile SDKs.
Backend integration
The sessionToken pattern, mint-token endpoint examples for Node, Python, PHP, and Go.
RESTAuth API reference
Every OTP endpoint, every parameter, every response shape — with copy-pasteable curl.
WhatsAppWhatsApp Business API
Create templates, send single messages and bulk campaigns, reply in the 24h window, read number health.
One live environment
There is no sandbox or test mode — every OTP is a real, billed message, and there is no fixed test code. Wire your UI against your own phone number. The publishable key (pk_live_…, sent as X-QuickAuth-Key) is under Settings → SDK publishable key on dashboard.quickauth.in.
Concepts that matter
- Channel routing. Pass
channel: 'auto'and the primary channel set in your dashboard is used; if it isn’t delivered in time, the same code goes out on your configured fallback channel. - Consent gating. The SDKs refuse to send identifiable fields until you call
consent.set(true). DPDP and GDPR safe out of the box. - Attribution. Every SDK captures launch source (UTMs,
qa_clid, install referrer) and tracks conversions — so the same install that issued the OTP also closes the marketing loop.
Need a hand?
Open an issue on any of the SDK repos under github.com/quickauthin or drop a note via the contact form.