List voice country

GET /v2/Voice/Countries

Voice pricing by country

Query parameters

  • 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

  • 200

    OK

    Hide response attributes Show response attributes object
    • countries array[object]
      Hide countries attributes Show countries attributes array[object]
      • country string | null

        The name of the country

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

        The ISO country code

      • url string(uri) | null

        The absolute URL of the resource

    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri)
      • page integer
      • page_size integer
      • previous_page_url string(uri)
      • url string(uri)
GET /v2/Voice/Countries
curl \
 -X GET https://pricing.twilio.com/v2/Voice/Countries \
 --user "username:password"
Response examples (200)
{
  "countries": [
    {
      "country": "string",
      "iso_country": "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)
{
  "countries": [
    {
      "country": "string",
      "iso_country": "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"
  }
}