Checking support...
Feature Not SupportedThis browser does not support the Web OTP API Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
if ('OTPCredential' in window) {
const otp = await navigator.credentials.get({ otp: { transport: ['sms'] } });
}About the Web OTP API Web API
Web OTP API enables web applications to automatically obtain SMS-delivered verification codes.
Specification:W3C & WHATWG Web API Standard
Sponsored Content