Skip to contentSkip to navigationSkip to topbar
Rate this Page:

Authy Applications


(warning)

Warning

As of November 2022, Twilio no longer provides support for Authy SMS/Voice-only customers. Customers who were also using Authy TOTP or Push prior to March 1, 2023 are still supported. The Authy API 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.

Existing customers will not be impacted at this time until Authy API has reached End of Life. For more information about migration, see Migrating from Authy to Verify for SMS(link takes you to an external page).

Twilio Authy API applications are created through the Authy section of the console. You may have many applications in one Twilio account, but each Application you create will be isolated with a separate list of users and a separate API key.


Create New Application

create-new-application page anchor

To create a new Authy application, click the red plus ('+') button from the console:

Create New Two-Factor Application.

NOTE: The application name is limited to 30 characters.

See how to get your Authy Application ID here.



_10
GET https://api.authy.com/protected/{FORMAT}/app/details

URL

url page anchor
NameDescription
FORMAT StringThe format to expect back from the REST API call. json or xml. (🏢 not PII)
NameDescription
user_ip String (optional)IP of the user requesting to see the application details. (📇 PII )
NameDescription
app HashObject with information about the application. (🏢 not PII )
success BooleanTrue if the request was successful. (🏢 not PII )
message StringA message indicating the result of the operation. (🏢 not PII )

Fetch Application Details

fetch-application-details page anchor
Python
C#
curl

_10
# Download the helper library from https://github.com/twilio/authy-python
_10
from authy.api import AuthyApiClient
_10
_10
# Your API key from twilio.com/console/authy/applications
_10
# DANGER! This is insecure. See http://twil.io/secure
_10
authy_api = AuthyApiClient('api_key')
_10
_10
details = authy_api.apps.fetch()
_10
_10
print(details.content)

Output

_12
{
_12
"app": {
_12
"name": "Authy Sample",
_12
"plan": "pay_as_you_go",
_12
"sms_enabled": true,
_12
"phone_calls_enabled": true,
_12
"app_id": 1234,
_12
"onetouch_enabled": true
_12
},
_12
"message": "Application information.",
_12
"success": true
_12
}


Rate this Page: