Retrieve all voice dialing country permissions for this account
Retrieve all voice dialing country permissions for this account
Query parameters
-
Filter to retrieve the country permissions by specifying the ISO country code
-
Filter to retrieve the country permissions by specifying the continent
-
Filter the results by specified country codes
-
Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be:
true
orfalse
. -
Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be:
true
orfalse
-
Filter to retrieve the country permissions with dialing to high-risk toll fraud numbers enabled. Can be:
true
orfalse
. -
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
. -
The page index. This value is simply for client state.
Minimum value is
0
. -
The page token. This is provided by the API.
curl \
--request GET 'https://voice.twilio.com/v1/DialingPermissions/Countries' \
--user "username:password"
{
"meta": {
"key": "content",
"url": "https://voice.twilio.com/v1/DialingPermissions/Countries?IsoCode=US&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://voice.twilio.com/v1/DialingPermissions/Countries?IsoCode=US&PageSize=50&Page=0",
"previous_page_url": null
},
"content": [
{
"url": "https://voice.twilio.com/v1/DialingPermissions/Countries/US",
"name": "United States/Canada",
"links": {
"highrisk_special_prefixes": "https://voice.twilio.com/v1/DialingPermissions/Countries/US/HighRiskSpecialPrefixes"
},
"iso_code": "US",
"continent": "NORTH_AMERICA",
"country_codes": [
"+1"
],
"low_risk_numbers_enabled": false,
"high_risk_special_numbers_enabled": false,
"high_risk_tollfraud_numbers_enabled": false
}
]
}