Get coverage for a specific country
GET/country_coverage/countries/:country_code
Get coverage for a specific country
Request
Path Parameters
country_code stringrequired
Country ISO code.
Responses
200: Response for specific country coverage
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/country_coverage/countries/:country_code' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"United States of America": {
"code": "US",
"numbers": true,
"features": [
"hd_voice",
"emergency",
"voice",
"mms",
"fax",
"sms",
"international_sms"
],
"phone_number_type": [
"local",
"local",
"local",
"local",
"toll_free"
],
"reservable": true,
"quickship": true,
"international_sms": true,
"p2p": true,
"local": {
"features": [
"hd_voice",
"voice",
"international_sms",
"mms",
"fax",
"sms",
"emergency"
],
"reservable": true,
"quickship": false,
"international_sms": true,
"p2p": true
},
"toll_free": {
"features": [
"voice",
"mms",
"fax",
"sms",
"emergency"
],
"reservable": true,
"quickship": true,
"international_sms": false,
"p2p": false
},
"mobile": {},
"national": {},
"inventory_coverage": true,
"shared_cost": {}
}
}
}
{
"errors": [
{
"code": "10007",
"title": "Unexpected error",
"detail": "An unexpected error occured.",
"source": {
"pointer": "/base",
"parameter": "string"
},
"meta": {
"url": "https://developers.telnyx.com/docs/overview/errors/10015"
}
}
]
}