You can use the Available Regions API to list all of the regions that have numbers assigned to a project.
Lists all regions for numbers provided for the project ID.
A successful response, or an Error.
400 Invalid Argument error
PERMISSION_DENIED: improper credentials. Be sure your projectId, username and password are correct.
404 Not Found error
500 Internal Server error
{- "availableRegions": [
- {
- "regionCode": "US",
- "regionName": "United States",
- "types": [
- "MOBILE"
]
}
]
}