---
title: 2FA API (Verify) - Two Factor Authentication | Telnyx
canonical: https://telnyx.com/products/verify-api
---
# 2FA API (Verify) - Two Factor Authentication | Telnyx

# Verify API

Create your own authentication program or build one into your existing product. Use a single phone verification API to reach users across all devices with OTP and more.

[Talk to an Expert](https://telnyx.com/contact-us)

Get started in the [portal](https://telnyx.com/sign-up).

**ABOUT**

## A two-factor authentication solution at a great price

Telnyx’s Verify API offers all the standard features of user authentication software, including OTP sent via SMS and voice as well as flash calling. It's super easy to use and, just like the rest of our platform, comes at a great price.

**FEATURES**

## Simple two-factor authentication API

The Telnyx Verify API allows you to build your own authentication program using one easy API for SMS, voice and even flash calling.

* ### Reliable authentication  
Reliable infrastructure for scalable 2FA delivery to your users in over 190 country codes.
* ### Analytics  
Client based DLRs give detailed insight into how customers interact with your two-factor authentication tools.
* ### Flash call  
Our API allows automatic interception of 2FA codes when customers accept an incoming flash call.

## BENEFITS

## Developer-friendly, scalable API

Among CPaaS providers, Telnyx consistently wins awards for its results and ease-of-use. We take care of the details as you scale, so you don’t have to.

#1

## Ranked CPaaS for Results and Ease of Use

## A global 2FA solution

Our Verify API can interact with your end users all around the world.

190+

## Country codes supported

 HOW IT WORKS

[Sign up](Https://)

### Set up your 2FA profile

Create a 2FA profile that contains the configurations for sending out two-factor authentication codes. Connect this to your login or other authentication process.

### Choose verification method

Select a verification method so users can receive their code via SMS or phone call after passing the first verification step on your application or service.

### Verify user’s inputted code

Enter the received code on your verification process. The code is then sent to the Verify API, which will return a success or error message.

### Pass to the next stage

If the verification is successful, pass your user to the next stage in the login process, such as granting them full access to your application(s) or service(s).

Step 1/4

**RESOURCES**

## Start verifying

Our code is your code.

cURLPythonRubyNodePHP.NET

```
curl -X POST \
  --header "Content-Type: application/json" \
  --header "Accept: application/json" \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --data '{"name":"Test Profile","default_timeout_secs":300,"messaging_enabled":true}' \
  https://api.telnyx.com/v2/verify_profiles
```

* ### Build with an authentication API  
Configuration guides help you quickly add an authentication service to your app using SMS, Voice, Flash Call and/or WhatsApp.  
[Explore docs](https://developers.telnyx.com/docs/identity/verify/quickstart)
* ### Why 2FA?  
If you're worried about protecting your sensitive and personal information, learn how two-factor authentication can help.  
[Read article](https://telnyx.com/resources/is-two-factor-authentication-secure)
* ### 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.  
[Read article](https://telnyx.com/resources/what-is-two-factor-authentication)

**PRICING**

## See our Verify API pricing

Customers typically save 30% by switching to Telnyx, with lower list pricing and automatic volume discounts.

Starting at:

$0.03

per verification

[See pricing](https://telnyx.com/pricing/verify-api)

SOLUTIONS

## 2FA for multiple applications

* [![Gamestop stock on Robinhood app](https://d2efw2akbx8gaf.cloudfront.net/https://dotcom-payload-assets-prod.s3.us-east-1.amazonaws.com/cms-media/Financial_services-0d7a55d6.jpg?width=2240&format=webp)Financial servicesVerify user identity before approving account changes, transfers or other high risk actions.Learn More](https://telnyx.com/solutions/financial-services)
* [![Healthcare Overview](https://d2efw2akbx8gaf.cloudfront.net/https://dotcom-payload-assets-prod.s3.us-east-1.amazonaws.com/cms-media/Industry_Healthcare_Solutions-Overview-4951be50.png?width=1120&format=webp)HealthcareLeverage 2FA to safeguard sensitive patient information and meet HIPAA compliance regulations.Learn more](https://telnyx.com/solutions/healthcare)
* [![Retail and E-commerce Overview](https://d2efw2akbx8gaf.cloudfront.net/https://dotcom-payload-assets-prod.s3.us-east-1.amazonaws.com/cms-media/E-commerce-d7fa232a.jpg?width=2240&format=webp)Retail and eCommerceConfirm transactions with a one-time pin, or validate buyers and sellers before money transfers.Learn more](https://telnyx.com/solutions/retail-and-ecommerce)

## Sign up and start building

[Sign up](Https://)[Contact sales](https://telnyx.com/contact-us)

## FAQ

### What is two-factor authentication (2FA)?

Authentication is a means of verifying one’s identity, and [two-factor authentication (2FA)](https://en.wikipedia.org/wiki/Multi-factor%5Fauthentication) 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 their identity in some other way to gain access. A common 2FA method is to send a time-sensitive one-time password to a mobile device via SMS in addition to username and password.

### What are two-factor authentication codes?

### How do I test and send a 2FA verification code?

### Will I be able to access Verify through the Mission Control Portal?

### How do I get started using the Verify API?

### What are the most popular use cases for two-factor authentication?

### How much does it cost to use Verify?

### How do I use Authy? Do you connect to it?

**Resources, Docs, Support**

## Verify Api hub 

* ### Telnyx Verify API | Telnyx  
API Documentation for Verify  
[Read more](https://developers.telnyx.com/docs/identity/verify)
* ### Telnyx Verify Quickstart | Telnyx  
Telnyx Verify helps to deliver a 2FA token to any mobile number and verify that token using Telnyx V2 API  
[Read more](https://developers.telnyx.com/docs/identity/verify/quickstart)
* ### Account Setup | Telnyx  
Outlines the process of setting up a Telnyx account.  
[Read more](https://developers.telnyx.com/docs/account-setup)
* ### Account | Telnyx  
The Account API allows users to manage addresses and billing info associated with their account.  
[Read more](https://developers.telnyx.com/docs/account)
* ### Get started now! | Telnyx  
Welcome to Telnyx! This quickstart is designed to get you started right away with creating your account and using the developer portal to do some common actions. You will:  
[Read more](https://developers.telnyx.com/docs/development/get-started)
* ### Trigger SMS verification API | Telnyx  
Trigger SMS verification  
[Read more](https://developers.telnyx.com/api/verify/create-verification-sms)
* ### Trigger Call verification API | Telnyx  
Trigger Call verification  
[Read more](https://developers.telnyx.com/api/verify/create-verification-call)
* ### Create a Verify profile API | Telnyx  
Creates a new Verify profile to associate verifications with.  
[Read more](https://developers.telnyx.com/api/verify/create-verify-profile)
* ### List verifications by phone number API | Telnyx  
List verifications by phone number  
[Read more](https://developers.telnyx.com/api/verify/list-verifications)
* ### Verify verification code by phone number API | Telnyx  
Verify verification code by phone number  
[Read more](https://developers.telnyx.com/api/verify/verify-verification-code-by-phone-number)
* ### Telnyx Blog | CPaas & UCaaS Resources  
Find data-driven research, comprehensive guides and all things SIP trunking, voice and SMS APIs, wireless and more.  
[Read more](https://telnyx.com/resources/topic/verify-api)
* ### How does a verify API protect your business and customers?  
Secure your business with a verify API to protect data, build trust, and ensure compliance. Learn what features to look for when choosing a verify API.  
[Read more](https://telnyx.com/resources/what-is-verify-api)
* ### Telnyx Verify: Delivering 2FA at Scale  
Verify API Launch -- Empowering businesses to enable robust security features through reliable two-factor authentication.  
[Read more](https://telnyx.com/resources/verify-two-factor-authentication)
* ### 2FA codes with Verify API and Python SDK  
Learn how to send 2FA codes with Verify API and Python SDK in this webinar recording  
[Read more](https://telnyx.com/resources/verify-webinar-recap)
* ### How to choose the best 2FA solution for fraud prevention  
We’ve compared the best 2FA fraud prevention solutions so you don’t have to. Learn about top features, pricing, and ease of use.  
[Read more](https://telnyx.com/resources/best-fraud-prevention-2fa)
* ### 2FA vs. MFA: Which verification strategy is right for you?  
Finding the right authentication method for your business will protect sensitive data and comply with regulations. Learn how to choose between 2FA vs. MFA.  
[Read more](https://telnyx.com/resources/2fa-vs-mfa)
* ### Ensure account integrity with reliable verification methods  
Learn how reliable verification methods like passwords and 2FA can help you maintain account integrity, enhance security, and protect your data and users.  
[Read more](https://telnyx.com/resources/account-integrity-verification)
* ### Just How Secure is Two-Factor Authentication?  
So, just how secure is two-factor authentication? 2FA is one of the safest ways to protect your sensitive and personal information and users, here's how.  
[Read more](https://telnyx.com/resources/is-two-factor-authentication-secure)
* ### What is 2FA? Complete guide to two-factor authentication  
Learn about two-factor authentication’s role in cybersecurity, how it works, and how you can implement 2FA for your business.  
[Read more](https://telnyx.com/resources/what-is-two-factor-authentication)
* ### Top 5 Twilio Verify API alternatives  
Looking for the best verification API for your business? Don’t just default to Twilio Verify API. Consider some of these great options instead.  
[Read more](https://telnyx.com/resources/twilio-verify-api-alternatives)
* ### Top 5 Twilio Verify API alternatives  
Looking for the best verification API for your business? Don’t just default to Twilio Verify API. Consider some of these great options instead.  
[Read more](https://telnyx.com/resources/twilio-verify-api-alternatives)
* ### The Better Twilio Alternative - Telnyx  
Switch to Telnyx for a better Twilio alternative. Benefit from our competitive pricing, private global network, and award-winning support.  
[Read more](https://telnyx.com/the-better-twilio-alternative)
* ### Introducing the Verify API | Telnyx Help Center  
This article will explain how to set up Verify API to utilize within the Telnyx Portal.  
[Read more](https://support.telnyx.com/en/articles/5367966-introducing-the-verify-api)
* ### Telnyx Verify: 2FA made easy | Telnyx Help Center  
This article describes what is and how to get started with Telnyx Verify  
[Read more](https://support.telnyx.com/en/articles/5701653-telnyx-verify-2fa-made-easy)
* ### Telnyx Identity & Verification Tools | Telnyx Help Center  
A comprehensive list on how to navigate various Telnyx Identity and verification tools.  
[Read more](https://support.telnyx.com/en/collections/3968260-telnyx-identity-verification-tools)
* ### API Keys and How to Use Them | Telnyx Help Center  
In this article we will explain API keys and how to use them with both API v2 and API v1.  
[Read more](https://support.telnyx.com/en/articles/4305158-api-keys-and-how-to-use-them)
* ### Getting Started | Telnyx Help Center  
Get Started with a Mission Control Account. Start building on Telnyx today.  
[Read more](https://support.telnyx.com/en/collections/1512966-getting-started)
* ### Telnyx SMS Guide | Telnyx Help Center  
Here you will find a collection of links that will explain how to build applications using our SMS offering.  
[Read more](https://support.telnyx.com/en/collections/133103-telnyx-sms-guide)
* ### Two Factor Authentication \[Use Cases\]  
Implement Telnyx's Two-Factor Authentication to safeguard user data. Check out our real-world use cases.  
[Read more](https://telnyx.com/use-cases/two-factor-authentication)
* ### SMS API | Built for CRM and Sales  
Enhance your CRM tool with our SMS API. Build customer relationships seamlessly while ensuring compliance with data and privacy restrictions.  
[Read more](https://telnyx.com/use-cases/sms-api-crm-sales)

[Start building](https://telnyx.com/sign-up)