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

Menu

Expand
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?

DialingPermissions Country Resource

Voice dialing permissions are organized by country and identified by the country's ISO code.

DialingPermissions Country properties

Names in PHP format
isoCode
iso_country_code Not PII

The ISO country code.

name
string Not PII

Name of the country

continent
string Not PII

Name of the continent

countryCodes
string[] Not PII

The E.164 assigned country codes(s)

lowRiskNumbersEnabled
boolean Not PII

true, if dialing to low-risk numbers is enabled, else false.

highRiskSpecialNumbersEnabled
boolean Not PII

true, if dialing to high-risk special services numbers is enabled, else false. This group of prefixes includes number ranges allocated by the corresponding country. They consist of number types such as premium numbers, special services, shared cost and others

highRiskTollfraudNumbersEnabled
boolean Not PII

true, if dialing to high-risk toll fraud numbers is enabled, else false. This group of prefixes includes narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks also called toll fraud. The group of prefixes is formed through integration with anti-fraud databases and verified by analyzing calls on the Twilio Super Network. This group of prefixes is not available for download and is updated frequently

url
url Not PII

The absolute URL of this resource.

links
uri_map Not PII

A list of URLs related to this resource.

Fetch a DialingPermissions Country resource

get
https://voice.twilio.com/v1/DialingPermissions/Countries/{IsoCode}
Parameters
Names in None format
iso_code
Required
get iso_country_code Not PII

The ISO country code

Example 1
        
        
        
        

        Read multiple DialingPermissions Country resources

        get
        https://voice.twilio.com/v1/DialingPermissions/Countries
        Parameters
        Names in None format
        iso_code
        Optional
        get iso_country_code Not PII

        Filter to retrieve the country permissions by specifying the ISO country code

        continent
        Optional
        get string Not PII

        Filter to retrieve the country permissions by specifying the continent

        country_code
        Optional
        get string Not PII

        Filter the results by specified country codes

        low_risk_numbers_enabled
        Optional
        get boolean Not PII

        Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: true or false.

        high_risk_special_numbers_enabled
        Optional
        get boolean Not PII

        Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: true or false

        high_risk_tollfraud_numbers_enabled
        Optional
        get boolean Not PII

        Filter to retrieve the country permissions with dialing to high-risk toll fraud numbers enabled. Can be: true or false.

        Example 1
              
              
              
              
              Rate this page:

              Need some help?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.