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 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
    • country string | null

      The name of the country.

    • iso_country string(iso-country-code) | null
    • 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 object(outbound-prefix-price-with-origin)
      • origination_prefixes array[string]
      • destination_prefixes array[string]
      • base_price number
      • current_price number
      • friendly_name string
    • originating_call_prices array[object(inbound-call-price)] | null

      The list of OriginatingCallPrice records.

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

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

    • url string(uri) | null

      The absolute URL of the resource.

GET /v2/Trunking/Countries/{IsoCountry}
curl \
 --request GET 'https://pricing.twilio.com/v2/Trunking/Countries/{IsoCountry}' \
 --user "username:password"
Response examples (200)
{
  "url": "https://pricing.twilio.com/v2/Trunking/Countries/US",
  "country": "United States",
  "price_unit": "USD",
  "iso_country": "US",
  "originating_call_prices": [
    {
      "base_price": null,
      "number_type": "local",
      "current_price": "0.0085"
    },
    {
      "base_price": null,
      "number_type": "toll free",
      "current_price": "0.022"
    }
  ],
  "terminating_prefix_prices": [
    {
      "base_price": null,
      "current_price": "0.090",
      "friendly_name": "Outbound Trunking Minute - United States - Alaska",
      "destination_prefixes": [
        "1907"
      ],
      "origination_prefixes": [
        "ALL"
      ]
    },
    {
      "base_price": null,
      "current_price": "0.013",
      "friendly_name": "Outbound Trunking Minute - United States - Hawaii",
      "destination_prefixes": [
        "1808"
      ],
      "origination_prefixes": [
        "ALL"
      ]
    },
    {
      "base_price": null,
      "current_price": "0.013",
      "friendly_name": "Outbound Trunking Minute - United States & Canada - Toll Free",
      "destination_prefixes": [
        "1800",
        "1844",
        "1855",
        "1866",
        "1877",
        "1888"
      ],
      "origination_prefixes": [
        "ALL"
      ]
    },
    {
      "base_price": null,
      "current_price": "0.013",
      "friendly_name": "Outbound Trunking Minute - United States & Canada",
      "destination_prefixes": [
        "1"
      ],
      "origination_prefixes": [
        "ALL"
      ]
    }
  ]
}