Retrieve all voice dialing country permissions for this account

GET /v1/DialingPermissions/Countries

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

  • 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 or false.

  • Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: true or false

  • Filter to retrieve the country permissions with dialing to high-risk toll fraud numbers enabled. Can be: true or false.

  • 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 is 1000.

Responses

GET /v1/DialingPermissions/Countries
curl \
 -X GET https://voice.twilio.com/v1/DialingPermissions/Countries \
 --user "username:password"
Response examples (200)
{
  "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"
  }
}
Response examples (200)
{
  "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"
  }
}