Retrieve voice dialing country permissions identified by the given ISO country code

GET /v1/DialingPermissions/Countries/{IsoCode}

TODO: Resource-level docs

Retrieve voice dialing country permissions identified by the given ISO country code

Path parameters

  • IsoCode string(iso-country-code) Required

    The ISO country code of the DialingPermissions Country resource to fetch

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • continent string | null

      The name of the continent in which the country is located

    • country_codes array[string] | null

      The E.164 assigned country codes(s)

    • high_risk_special_numbers_enabled boolean | null

      Whether dialing to high-risk special services numbers is enabled

    • high_risk_tollfraud_numbers_enabled boolean | null

      Whether dialing to high-risk toll fraud numbers is enabled, else false

    • iso_code string(iso-country-code) | null

      The ISO country code

    • low_risk_numbers_enabled boolean | null

      Whether dialing to low-risk numbers is enabled

    • name string | null

      The name of the country

    • url string(uri) | null

      The absolute URL of this resource

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