Fetch pricing information for a specific destination and
Voice pricing for a specific phone number
Fetch pricing information for a specific destination and, optionally, origination phone number.
Path parameters
-
The destination phone number, in E.164 format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number.
Query parameters
-
OriginationNumber string(phone-number)
The origination phone number, in E.164 format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number.
GET /v2/Voice/Numbers/{DestinationNumber}
curl \
-X GET https://pricing.twilio.com/v2/Voice/Numbers/{DestinationNumber} \
--user "username:password"
Response examples (200)
{
"country": "string",
"destination_number": "string",
"inbound_call_price": {
"base_price": 42.0,
"current_price": 42.0,
"number_type": "string"
},
"iso_country": "string",
"origination_number": "string",
"outbound_call_prices": [
{
"base_price": 42.0,
"current_price": 42.0,
"origination_prefixes": [
"string"
]
}
],
"price_unit": "string",
"url": "https://example.com"
}
Response examples (200)
{
"country": "string",
"destination_number": "string",
"inbound_call_price": {
"base_price": 42.0,
"current_price": 42.0,
"number_type": "string"
},
"iso_country": "string",
"origination_number": "string",
"outbound_call_prices": [
{
"base_price": 42.0,
"current_price": 42.0,
"origination_prefixes": [
"string"
]
}
],
"price_unit": "string",
"url": "https://example.com"
}