Documentation · v1.1.0

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

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.

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.

Chat with us