This feature is currently in the GA maturity stage.
Customers using the below products will now have access to the Global Safe List API.
Note : Global Safe List API currently only supports the SMS channel.
Global Safe List API allows you to maintain a list of phone numbers that will never be blocked by Verify Fraud Guard, Verify Geo Permissions, Programmable Messaging SMS Pumping Protection or any other internal fraud & risk check solution.
While we are always adapting our fraud detection systems to keep false positives extremely low, Global Safe List API adds another layer of protection by letting you mark legitimate phone numbers as safe to ensure they are never erroneously blocked.
This API contains three endpoints:
Alternatively, you can add a previously blocked phone number to the Global Safe List via Twilio Console on the Verify Logs Blocked Verifications tab. See Viewing Logs With Twilio Console for more information.
Global Safe List API provides a built-in rate limit of 500 requests per minute. If you reach this limit, you will start receiving HTTP 429 "Too Many Requests" responses.
Global Safe List API has a timeout value of 15 seconds. However, its 99th percentile is within 1 second.
These properties are returned in the JSON response output.
The unique string that we created to identify the SafeList resource.
^GN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The phone number in SafeList.
POST https://accounts.twilio.com/v1/SafeList/Numbers
Adds a single phone number to the Safe List based on the given phone_number
parameter. Phone numbers must be in E.164 format.
If attempting to add a number that already exists in the Safe List, HTTP 400 with Error Code 60411 will be returned. Phone numbers will remain in the Safe List indefinitely until they are explicitly removed.
application/x-www-form-urlencoded
The phone number to be added in SafeList. Phone numbers must be in E.164 format.
GET https://accounts.twilio.com/v1/SafeList/Numbers
Checks if a single phone number is in the Safe List based on the given phone_number
parameter. Phone numbers must be in E.164 format.
If the given phone number is not in the Safe List, HTTP 404 will be returned.
The phone number to be fetched from SafeList. Phone numbers must be in E.164 format.
DELETE https://accounts.twilio.com/v1/SafeList/Numbers
Removes a phone number from the Safe List. Phone number must be in E.164 format.
If the given phone number is not in the Safe List, HTTP 404 will be returned.
The phone number to be removed from SafeList. Phone numbers must be in E.164 format.