list_country_regions
Retrieve available regions within a country for purchasing DIDs, with optional SMS functionality. Returns JSON data including region ID, name, and short code for informed decision-making.
Instructions
List country regions with available DIDs for purchase
Args: country_id: ID of country for search sms_enabled: search for DID with SMS functionality
Returns a JSON object with available regions for purchase. Returned countries list have following fields: id: ID of region name: Name of region in DIDLogic short_name: short code for region
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 |