Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Authy Two-factor Authentication Quickstarts

Twilio's Authy API is the fastest way to add a second factor of authentication to your web application. Tacking something you have to the something you know of a password provides a huge step up in security while minimizing the disruption for your users.

Here we've collected two-factor authentication quickstarts in various web programming languages. In each, we'll guide you down the fastest path to two-factor while incorporating security and programming language best practices.

Two-factor Authentication Quickstarts

Our web programming language quickstarts build out our example application which incorporates Two-factor Authentication across four channels: SMS, voice, soft token, and push authentication. Note that soft token and push authentication demos will require the Authy app.

Authenticator SDK Quickstart

Our Authenticator SDK allows you to easily build your own two-factor authentication client for iOS or Android. It facilitates easily adding time based one-time-password (TOTP) or push authentication support in your own mobile app.

Classic Quickstarts

These quickstarts no longer reflect all of our suggested best two-factor practices but are still useful demonstrations of a two-factor implementation. They are kept here for posterity - please use the quickstarts above first.

What's Next?

Got two-factor properly protecting your quickstart app? If you followed the two-factor authentication quickstart, the app also added features for phone verification. If you haven't yet, try the Phone Verification quickstart next.

We've also got a large collection of Guides and Tutorials with example Two-factor Authentication applications along with code for other Twilio Communication and Account Security products. You can find a detailed description of all of the concepts and code in our Authy API Reference.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.