Skip to main content
GET
/
country_coverage
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const countryCoverage = await client.countryCoverage.retrieve();

console.log(countryCoverage.data);
{
  "data": {
    "Afghanistan": {
      "code": "AF",
      "numbers": false,
      "features": [],
      "phone_number_type": [],
      "reservable": false,
      "quickship": false,
      "international_sms": false,
      "p2p": false,
      "local": {},
      "toll_free": {},
      "mobile": {},
      "national": {},
      "region": null,
      "inventory_coverage": false
    },
    "Aland Islands": {
      "code": "AX",
      "numbers": false,
      "features": [],
      "phone_number_type": [],
      "reservable": false,
      "quickship": false,
      "international_sms": false,
      "p2p": false,
      "local": {},
      "toll_free": {},
      "mobile": {},
      "national": {},
      "region": null,
      "inventory_coverage": false
    },
    "Albania": {
      "code": "AL",
      "numbers": true,
      "features": [
        "voice",
        "fax"
      ],
      "phone_number_type": [
        "local",
        "toll_free"
      ],
      "reservable": false,
      "quickship": false,
      "international_sms": false,
      "p2p": false,
      "local": {
        "features": [
          "fax",
          "voice"
        ],
        "reservable": false,
        "full_pstn_replacement": false,
        "quickship": false,
        "international_sms": false,
        "p2p": false
      },
      "toll_free": {
        "features": [
          "fax",
          "voice"
        ],
        "reservable": false,
        "full_pstn_replacement": false,
        "quickship": false,
        "international_sms": false,
        "p2p": false
      },
      "mobile": {},
      "national": {},
      "region": "EMEA",
      "inventory_coverage": false,
      "shared_cost": {}
    },
    "Algeria": {
      "code": "DZ",
      "numbers": false,
      "features": [],
      "phone_number_type": [],
      "reservable": false,
      "quickship": false,
      "international_sms": false,
      "p2p": false,
      "local": {},
      "toll_free": {},
      "mobile": {},
      "national": {},
      "region": null,
      "inventory_coverage": false
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Response for country coverage

data
object[]