This app will show you an example of how to build a one-time passcode (OTP) experience using SMS, WhatsApp, voice, or email* with the Twilio Verify API.
This sample uses function templates to quickly create and deploy serverless functions you can use to interface with the Twilio Verify API from your production application. The interface provided shows off available features including channel selection and language preference.
How it works:
For more information, check out this blog post on serverless phone verification. For interface best practices including retry logic and channel fallback, check out best practices for managing retry logic with SMS 2FA.
*Note: email channel requires additional configuration, follow the instructions in the docs.