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
|
The ISO country code. |
name
|
The name of the country. |
continent
|
The name of the continent in which the country is located. |
country_codes
|
The E.164 assigned country codes(s) |
low_risk_numbers_enabled
|
Whether dialing to low-risk numbers is enabled. |
high_risk_special_numbers_enabled
|
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
|
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
|
The absolute URL of this resource. |
links
|
A list of URLs related to this resource. |
Instance Properties in REST API format |
Fetch a DialingPermissions Country resource
https://voice.twilio.com/v1/DialingPermissions/Countries/{IsoCode}
Parameters
Parameters in REST API format | |
---|---|
iso_code
Path
|
The ISO country code of the DialingPermissions Country resource to fetch |
Example 1
Read multiple DialingPermissions Country resources
https://voice.twilio.com/v1/DialingPermissions/Countries
Parameters
Parameters in REST API format | |
---|---|
iso_code
Optional
|
Filter to retrieve the country permissions by specifying the ISO country code |
continent
Optional
|
Filter to retrieve the country permissions by specifying the continent |
country_code
Optional
|
Filter the results by specified country codes |
low_risk_numbers_enabled
Optional
|
Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: |
high_risk_special_numbers_enabled
Optional
|
Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: |
high_risk_tollfraud_numbers_enabled
Optional
|
Filter to retrieve the country permissions with dialing to high-risk toll fraud numbers enabled. Can be: |
Example 1
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.