Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now


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?

Verify API V1 Reference

Version 2 of the Verify API is now available! V2 has an improved developer experience and new features. Some of the features of the V2 API include:

You are currently viewing Version 1. V1 of the API will be maintained for the time being, but any new features and development will be on Version 2. We strongly encourage you to do any new development with API V2. Check out the migration guide or the API Reference for more information.

As part of Twilio's account security 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 and get the API Key.


リファレンスドキュメントの URL はすべて、次のベース URL を使用しています。


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


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.:

curl -XPOST '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 after clicking through to your application.

Verify Production API Key

Phone Verification Workflow

  1. Create a new Verify application in the Twilio Console.
  2. Send a Verification Token via SMS or Voice
  3. Check the Verification Token


Verify Helper Libraries

We maintain helper libraries to abstract phone verification API calls for all of our standard web languages.

APIを通じて実行できるさまざまなアクション用のcURLコマンドを含むリポジトリーを用意しています。 また、Postman向けのコレクションおよび環境のサンプルも含まれています。

Rate this page:


誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。