Fetch the high-risk special services prefixes from the country resource corresponding to the [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)

GET /v1/DialingPermissions/Countries/{IsoCode}/HighRiskSpecialPrefixes

Fetch the high-risk special services prefixes from the country resource corresponding to the ISO country code

Path parameters

  • IsoCode string(iso-country-code) Required

    The ISO 3166-1 country code to identify the country permissions from which high-risk special service number prefixes are fetched

Query parameters

  • PageSize integer(int64)

    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.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

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
    • content array[object]
      Hide content attribute Show content attribute object
      • prefix string | null

        A prefix is a contiguous number range for a block of E.164 numbers that includes the E.164 assigned country code. For example, a North American Numbering Plan prefix like +1510720 written like +1(510) 720 matches all numbers inclusive from +1(510) 720-0000 to +1(510) 720-9999.

    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v1/DialingPermissions/Countries/{IsoCode}/HighRiskSpecialPrefixes
curl \
 --request GET 'https://voice.twilio.com/v1/DialingPermissions/Countries/{IsoCode}/HighRiskSpecialPrefixes' \
 --user "username:password"
Response examples (200)
{
  "meta": {
    "key": "content",
    "url": "https://voice.twilio.com/v1/DialingPermissions/Countries/LV/HighRiskSpecialPrefixes?PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://voice.twilio.com/v1/DialingPermissions/Countries/LV/HighRiskSpecialPrefixes?PageSize=50&Page=0",
    "previous_page_url": null
  },
  "content": [
    {
      "prefix": "+37181"
    },
    {
      "prefix": "+3719000"
    }
  ]
}