list_country_cities_in_region
Retrieve a list of cities within a specific region of a country where DID (Direct Inward Dialing) numbers are available. Filter results to include SMS-enabled DIDs and obtain details like city ID, name, area code, and available DID count.
Instructions
List of Cities with available DID in a region of a country
Args: country_id: ID of country for search region_id: ID of region in a country sms_enabled: search for DID with SMS functionality
Returns a JSON object with available cities for purchase DIDs. Returned cities list have following fields: id: ID of city name: Name of city in DIDLogic area_code: Area code within country count: count of available DIDs for purchasing
403 error indicates disabled API calls for purchase.
Example:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
country_id | Yes | Country ID | |
region_id | Yes | Region ID | |
sms_enabled | No | Filter for sms enabled numbers |