Menu

Expand
Rate this page:

DialingPermissions Country Resource

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

DialingPermissions Country properties

Resource Properties in REST API format
iso_code
iso_country_code Not PII

The ISO country code.

name
string Not PII

The name of the country.

continent
string Not PII

The name of the continent in which the country is located.

country_codes
string[] Not PII

The E.164 assigned country codes(s)

low_risk_numbers_enabled
boolean Not PII

Whether dialing to low-risk numbers is enabled.

high_risk_special_numbers_enabled
boolean Not PII

Whether dialing to high-risk special services numbers is enabled. These prefixes include number ranges allocated by the country and include premium numbers, special services, shared cost, and others

high_risk_tollfraud_numbers_enabled
boolean Not PII

Whether dialing to high-risk toll fraud numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as toll fraud. These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are 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.

Instance Properties in REST API format

Fetch a DialingPermissions Country resource

get
https://voice.twilio.com/v1/DialingPermissions/Countries/{IsoCode}
Parameters
Parameters in REST API format
iso_code
Path
get iso_country_code Not PII

The ISO country code of the DialingPermissions Country resource to fetch

Example 1
Loading Code Sample...
        
        

        Fetch a DialingPermissions Country resource

        Read multiple DialingPermissions Country resources

        get
        https://voice.twilio.com/v1/DialingPermissions/Countries
        Parameters
        Parameters in REST API 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
        Loading Code Sample...
              
              

              Read multiple DialingPermissions Country resources

              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 by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

              Loading Code Sample...
                    
                    
                    

                    Thank you for your feedback!

                    Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                    Sending your feedback...
                    🎉 Thank you for your feedback!
                    Something went wrong. Please try again.

                    Thanks for your feedback!

                    thanks-feedback-gif