Retrieve all voice dialing country permissions for this account
TODO: Resource-level docs
Retrieve all voice dialing country permissions for this account
Query parameters
-
IsoCode string(iso-country-code)
Filter to retrieve the country permissions by specifying the ISO country code
-
Continent string
Filter to retrieve the country permissions by specifying the continent
-
CountryCode string
Filter the results by specified country codes
-
LowRiskNumbersEnabled boolean
Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be:
true
orfalse
. -
HighRiskSpecialNumbersEnabled boolean
Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be:
true
orfalse
-
HighRiskTollfraudNumbersEnabled boolean
Filter to retrieve the country permissions with dialing to high-risk toll fraud numbers enabled. Can be:
true
orfalse
. -
PageSize integer
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
.
curl \
-X GET https://voice.twilio.com/v1/DialingPermissions/Countries \
--user "username:password"
{
"content": [
{
"continent": "string",
"country_codes": [
"string"
],
"high_risk_special_numbers_enabled": true,
"high_risk_tollfraud_numbers_enabled": true,
"iso_code": "string",
"links": {},
"low_risk_numbers_enabled": true,
"name": "string",
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}
{
"content": [
{
"continent": "string",
"country_codes": [
"string"
],
"high_risk_special_numbers_enabled": true,
"high_risk_tollfraud_numbers_enabled": true,
"iso_code": "string",
"links": {},
"low_risk_numbers_enabled": true,
"name": "string",
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}