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 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.

Fetch a DialingPermissions Country resource

get
https://voice.twilio.com/v1/DialingPermissions/Countries/{IsoCode}
Parameters
Names 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
        
        
        
        

        Read multiple DialingPermissions Country resources

        get
        https://voice.twilio.com/v1/DialingPermissions/Countries
        Parameters
        Names 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
              
              
              
              
              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.