Sign inGet Started

List Voice destination countries

GET
/v1/voice/destinations
const destinations = await bird.voice.destinations.list();
for (const destination of destinations.data) {
  console.log(destination.country_code, destination.enabled, destination.status);
}
प्रतिक्रिया200
{
  "data": [
    {
      "country_code": "US",
      "country_name": "Netherlands",
      "dial_code": "31",
      "region": "western_europe",
      "super_region": "europe",
      "status": "available"
    }
  ]
}
Returns every country the Voice service supports, each annotated with whether your workspace has enabled calling to it and whether the country is currently callable. Use this to render and manage your destination allowlist.
Response Payload
data
array of object
आवश्यक
The Voice destination countries, each annotated with your workspace's enabled setting.
चाइल्ड एट्रिब्यूट दिखाएँ
data.country_code
string
आवश्यक
data.country_name
string
आवश्यक
Full English country name.
data.dial_code
string
International dialling prefix, without the leading plus. Absent for countries that have none.
data.region
nullable string
data.super_region
nullable string
data.enabled
boolean
आवश्यक
Whether your workspace has enabled calling to this country.
data.status
string
आवश्यक
This country's Voice callability at the destination level, independent of your enabled setting. available means we place calls there; not_supported means we do not.
Possible values (may grow over time): available, not_supported
data.high_risk_destination
boolean
आवश्यक
Whether we treat this country as a high-risk calling destination.
total
integer
आवश्यक
Total number of destination countries.

संबंधित संसाधन

इस विषय के लिए डॉक्यूमेंटेशन, गाइड और उदाहरणों के साथ आगे बढ़ें। संसाधन अंग्रेज़ी में हैं।

इम्प्लीमेंटेशन ब्रीफ़ पाएँ