Build your own two-factor authentication solution
Businesses use two-factor authentication (2FA) to block over 99% of automated account attacks on average. But historically, building your own 2FA has been laborious, and out-of-the-box solutions have limitations of their own. Telnyx offers SMS, Voice and Verify APIs that enable developers to quickly and easily incorporate accessible 2FA at any point in the customer journey.
Build a native experience
Send passcodes via SMS, voice call, flash call or WhatsApp message.
Integrate 2FA easily
Secure logins, authenticate devices, confirm account changes, register users, protect payments and stay PSD2 compliant with Telnyx’s Verify API.
Set up verification-capable phone numbers
Instantly provision and configure phone numbers for calling and messaging in 200+ countries via the Telnyx Mission Control Portal.
Configure your application to interact with the Telnyx Verify API
Set up your application to call the Telnyx Verify API when the user submits the correct criteria. This will trigger a PIN code to be sent via SMS, voice, flash call or WhatsApp to the phone number associated with that user’s account.
Deliver and verify PIN codes
The user receives a code and enters it into your application’s PIN code input field. Your application then sends a request to the Verify API with the user’s details and entered PIN code to check if it’s correct.
Verify API responds with appropriate result
If the code matches the one generated, the API will send a positive response, and your application can grant the user access in accordance with your configuration. If it isn’t, the API will deliver a negative response, and you can ask the user to try again or request a new code.
Flexible APIs over a private IP network
Authenticate accounts via SMS, voice call, flash call or WhatsApp message at any point in your user journey.Learn More
Programatically send and receive SMS alerts, notifications, marketing messages and more in 200+ countries.Learn More
Build with an authentication API
Configuration guides to quickly add an authentication service to your app using SMS, Voice, Flash Call and/or WhatsApp.
How secure is two-factor authentication?
If you're worried about protecting your sensitive and personal information, learn how two-factor authentication can help.
What is two-factor authentication?
We dive into how two-factor authentication works to add an extra layer of security, the different types of 2FA and more.
Authentication is a means of verifying one’s identity, and two-factor authentication (2fa) is a method of establishing access to an online destination, by requiring users to provide two different types of information. One common mode of single factor authentication is the username password pair. With 2FA, users need to both provide a password and prove your identity some other way to gain access. A common 2FA method is to send a time expiring one time password, sent to a mobile device via SMS in addition to username and password.