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

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://twilio.demo.bump-doc.com/doc/voice/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Voice MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/voice/mcp"
}
Close
GET /v1/DialingPermissions/Countries/{IsoCode}

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 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • iso_code string(iso-country-code) | null
    • name string | null

      The name of the country.

    • 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)

    • low_risk_numbers_enabled boolean | null

      Whether dialing to low-risk numbers is enabled.

    • high_risk_special_numbers_enabled boolean | null

      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 boolean | null

      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 string(uri) | null

      The absolute URL of this resource.

GET /v1/DialingPermissions/Countries/{IsoCode}
curl \
 --request GET 'https://voice.twilio.com/v1/DialingPermissions/Countries/{IsoCode}' \
 --user "username:password"
Response examples (200)
{
  "iso_code": "US",
  "name": "United States/Canada",
  "country_codes": [
    "+1"
  ],
  "continent": "NORTH_AMERICA",
  "low_risk_numbers_enabled": false,
  "high_risk_special_numbers_enabled": false,
  "high_risk_tollfraud_numbers_enabled": false,
  "url": "https://voice.twilio.com/v1/DialingPermissions/Countries/US",
  "links": {
    "highrisk_special_prefixes": "https://voice.twilio.com/v1/DialingPermissions/Countries/US/HighRiskSpecialPrefixes"
  }
}