SMS OTP PWA Demo

With the WebOTP API, your PWA can ask users to confirm their phone numbers and automatically retrieve the code they receive by SMS.

SMS OTP Logo

Demo

  1. Install this PWA on your Android phone.
  2. Tap the button below to start listening. The browser will monitor incoming SMS and attempt to extract the code you'll send below.
  3. Send an SMS (not an RCS message) to your phone number from another phone with the text exactly as shown below. This page will automatically intercept the code from the SMS.

API

window.OTPCredential
window.AbortController

Code

Links & Documentation

Your app here

Ready to generate your PWA?

Try our PWA toolkit free of charge and without limits for 14 days. No credit card required.

Generate PWA See plans