list_country_cities
Retrieve a list of cities with available DIDs for purchase in a specific country. Filter by SMS functionality and access city details including ID, name, area code, and DID count.
Instructions
List of Cities with available DID for purchase in a country
Args: country_id: ID of country for search 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 | |
sms_enabled | No | Filter for sms enabled numbers |