Welcome to kod.mobi Documentation

Kod.mobi helps you send one-time passwords (OTPs) via SMS, WhatsApp, Telegram, and Email.

Get started Api Reference

Choose your integration flow ΒΆ

  • Client-side Only: Channel-first

    The user sees all available channels (e.g., SMS, WhatsApp, Telegram, Email) before entering their phone number or email. After choosing a channel, they input their contact and receive a one-time code. Verification is handled by Kod.mobi.

  • Client-side Only: Sending-first

    First, the user enters their phone number or email address, and the code is sent to the user's available channel. The user can then select the channel to resend the code. Verification is handled by Kod.mobi.

  • Client + Server-side

    You combine client-side methods with a server-side verify call using your secret key. Kod.mobi still performs the verification, but requests are routed through your backend. Ideal for projects needing extra control or auditing.

  • Manual

    All logic β€” code generation, validation, and provider selection β€” is handled on your backend. Kod.mobi is used only to dispatch messages via the API. Best for custom flows or full control of OTP logic.