# Verify API V1 Reference

> \[!WARNING]
>
> Verify v1 API has reached End of Sale. It is now closed to new customers and will be fully deprecated in the future.
>
> For new development, we encourage you to use the [Verify v2 API](/docs/verify/api). v2 has an improved developer experience and new features, including:
>
> * Twilio server-side SDKs in multiple languages
> * [PSD2](/docs/verify/verifying-transactions-psd2) Secure Customer Authentication Support
> * [Improved Visibility and Insights](/docs/verify/migrating-1x-2x#improved-visibility-and-insights)
>
> Existing customers will not be impacted at this time until Verify v1 API has reached End of Life. For more information about migration, see [Migrating from 1.x to 2.x](/docs/verify/migrating-1x-2x).

As part of Twilio's Trusted Activation offerings, the Twilio Verify API makes it simple to add phone verification to your web application. It supports codes sent via voice and SMS. To start working with the API, first [create an application in the console](https://www.twilio.com/console/verify/applications) and get the API Key.

## Base URL

All URLs in the reference documentation use the following base URL:

```bash
https://api.authy.com
```

All requests to the Verify REST API are served over HTTPS. Unencrypted HTTP is not supported.

## Authentication

All `HTTP` requests to the Verify REST API `/protected` endpoints are protected with an API Secret you pass as an HTTP header `X-Authy-API-Key`, e.g.:

```bash
curl -X POST 'https://api.authy.com/protected/json/phones/verification/start' \
-H "X-Authy-API-Key: $VERIFY_API_KEY" \
-d via='sms' \
-d phone_number='987-654-3210' \
-d country_code=1
```

The Verify API Key can be found in the [Verify section of the Twilio Console](https://www.twilio.com/console/verify/applications) after clicking through to your application.

![General settings showing production API key partially hidden for NewApp.](https://docs-resources.prod.twilio.com/dac191448fbe592332feead1a0d0b825e8dc5f6efd8b4e330dc48aa646aba31f.png)

## Phone Verification Workflow

1. Create a [new Verify application in the Twilio Console.](/docs/verify/api/v1/applications#create-new-application)
2. [Send a Verification Token via SMS or Voice](/docs/verify/api/verification#start-new-verification)
3. [Check the Verification Token](/docs/verify/api/verification)

Need help troubleshooting an error or understanding a response?

* [Verify Return Codes and Error Codes](/docs/verify/api/v1/return-and-error-codes)
