VIRTUAL NUMBERS
List virtual number countries
GEThttps://production.dutchapi.co/v1/virtual-numbers/countries
Lists countries that support the selected virtual-number service.
🔒Send the project API key as a Bearer token and your Business ID with this call.
Query Params
productstringrequired
Virtual-number service slug.
Responses
{
"countries": [
{
"name": "united_states",
"displayName": "United States",
"isoCode": "US",
"phonePrefix": "+1"
}
]
}
{
"error": "insufficient_scope",
"message": "This project key is not allowed to do that."
}
Errors
| Status | error | Meaning |
|---|
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 400 | invalid_product | Choose a valid product slug. |
| 502 | virtual_numbers_catalog_unavailable | Virtual number catalog is temporarily unavailable. |