Fetch a specific Country

GET /v2/Trunking/Countries/{IsoCountry}

Trunking pricing by country

Fetch a specific Country.

Path parameters

  • IsoCountry string(iso-country-code) Required

    The ISO country code of the origin-based voice pricing information to fetch.

Responses

  • 200

    OK

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

      The name of the country

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

      The ISO country code

    • originating_call_prices array[object(inbound-call-price)] | null

      The list of OriginatingCallPrice records

      Hide originating_call_prices attributes Show originating_call_prices attributes array[object(inbound-call-price)] | null
      • base_price number
      • current_price number
      • number_type string
    • price_unit string(currency) | null

      The currency in which prices are measured, in ISO 4127 format (e.g. usd, eur, jpy)

    • terminating_prefix_prices array[object(outbound-prefix-price-with-origin)] | null

      The list of TerminatingPrefixPrice records

      Hide terminating_prefix_prices attributes Show terminating_prefix_prices attributes array[object(outbound-prefix-price-with-origin)] | null
      • base_price number
      • current_price number
      • destination_prefixes array[string]
      • friendly_name string
      • origination_prefixes array[string]
    • url string(uri) | null

      The absolute URL of the resource

GET /v2/Trunking/Countries/{IsoCountry}
curl \
 -X GET https://pricing.twilio.com/v2/Trunking/Countries/{IsoCountry} \
 --user "username:password"
Response examples (200)
{
  "country": "string",
  "iso_country": "string",
  "originating_call_prices": [
    {
      "base_price": 42.0,
      "current_price": 42.0,
      "number_type": "string"
    }
  ],
  "price_unit": "string",
  "terminating_prefix_prices": [
    {
      "base_price": 42.0,
      "current_price": 42.0,
      "destination_prefixes": [
        "string"
      ],
      "friendly_name": "string",
      "origination_prefixes": [
        "string"
      ]
    }
  ],
  "url": "https://example.com"
}
Response examples (200)
{
  "country": "string",
  "iso_country": "string",
  "originating_call_prices": [
    {
      "base_price": 42.0,
      "current_price": 42.0,
      "number_type": "string"
    }
  ],
  "price_unit": "string",
  "terminating_prefix_prices": [
    {
      "base_price": 42.0,
      "current_price": 42.0,
      "destination_prefixes": [
        "string"
      ],
      "friendly_name": "string",
      "origination_prefixes": [
        "string"
      ]
    }
  ],
  "url": "https://example.com"
}