Verify Applications
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:
- Twilio helper libraries in JavaScript, Java, C#, Python, Ruby, and PHP
- PSD2 Secure Customer Authentication Support
- Improved Visibility and Insights
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 encourage you to do any new development with API V2. Check out the migration guide or the API Reference for more information.
Twilio Verify API applications are created through the Verify section of the console. You may have many applications in one Twilio account, but each Application you create will be isolated with a separate application name and separate API key.
新しいアプリケーションを作る
To create a new Verify application, click the red plus ('+') button from the console:
You will be taken to your application's Settings page, where you can find your Application ID:
It is also possible to get information about an Verify API Application via the API itself.
アプリケーションの詳細を取得する
この呼び出しは、アプリケーションの詳細を取得します:
- Name(名前):
- Plan(プラン):
- SMS-enabled(SMSのオン/オフ状態)
GET https://api.authy.com/protected/{FORMAT}/app/details
パラメーター
名前 | Type | 概要 |
---|---|---|
user_ip | 文字列(オプション) | IP of the user requesting to see the application details. (📇 PII ) |
レスポンス
名前 | Type | 概要 |
---|---|---|
App | App | Object with information about the application. (🏢 not PII ) |
success | boolean | True if the request was successful. (🏢 not PII ) |
message | 文字列 | A message indicating the result of the operation. (🏢 not PII ) |
例
curl 'https://api.authy.com/protected/json/app/details' \
-H "X-Authy-API-Key: d57d919d11e6b221c9bf6f7c882028f9"
サンプルレスポンス:
{
"app": {
"name": "Verify Sample",
"plan": "pay_as_you_go",
"sms_enabled": true,
"phone_calls_enabled": true,
"app_id": 11111,
"onetouch_enabled": true
},
"message": "Application information.",
"success": true
}
ヘルプが必要ですか?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.