minimoth

MiniMoth.dev

Drop-in SMS OTP authentication and session management — without the boilerplate.

Get started

How it works

$ POST /v1/otp/send

› SMS sent

$ POST /v1/otp/verify

› session created

› access_token + refresh_token returned

Compared to typical SMS auth pricing, MiniMoth is

~28x

cheaper per session

₹50 free credits every month — no card needed

₹0.35 per session — not per SMS. Clerk charges ₹10/SMS, Firebase ₹0.8/SMS.

Three lines of code

await fetch('https://api.minimoth.dev/v1/otp/send', {
  method: 'POST',
  headers: { 'X-Api-Key': 'mm_live_...', 'Content-Type': 'application/json' },
  body: JSON.stringify({ phone: '+919876543210' }),
})

const { access_token, refresh_token } = await fetch(
  'https://api.minimoth.dev/v1/otp/verify',
  {
    method: 'POST',
    headers: { 'X-Api-Key': 'mm_live_...', 'Content-Type': 'application/json' },
    body: JSON.stringify({ phone: '+919876543210', code: '123456' }),
  }
).then(r => r.json())

Ready to ship auth?

Get started