buy_numbers
Purchase CallTrackingMetrics tracking numbers after previewing a dry-run plan; supports exact numbers or area-code selection with quantity.
Instructions
Purchase CTM tracking numbers. Real purchases cost money unless test=True.
ALWAYS call with dry_run=True first (the default), show the user the plan (account name, count, numbers or area code), and get explicit confirmation before calling again with dry_run=False. There is no undo except release_numbers.
Args: phone_numbers: Exact numbers from search_available_numbers. area_code: Let CTM pick numbers in this area code (see quantity). quantity: How many numbers to buy in area_code mode (1-500). test: Buy free test numbers. Default False (real, billable). dry_run: Plan only, no write calls. Default True.
Returns rows with tpn_id; feed those tpn_ids to configure_numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | ||
| dry_run | No | ||
| quantity | No | ||
| area_code | No | ||
| account_id | No | ||
| token_name | No | ||
| phone_numbers | No |