configure_numbers
Configure multiple tracking numbers with names, custom fields, tracking sources, and call routing to queues, menus, or users in one action.
Instructions
Apply a name, tracking source, and one call route to one or many numbers.
Get ids from list_routing_targets and let the user choose them. Pick at most ONE route: receiving_number_ids, queue_id (CQU...), voice_menu_id (VOM...), user_id (USR..., rings an agent), or route_override (raw {"virtual_phone_number": {...}} dial_routes body). Pick at most ONE route: receiving_number_ids, queue_id (CQU...), voice_menu_id (VOM...), user_id (USR...), conditional_router_id (smart router), geo_route_id (GEO...), routing_table_id (RTT...), voice_bot_id (VBT...), or route_override.
Args: tpn_ids: Tracking numbers to configure (TPN...). name: Label. Supports {n} (1-based index) and {number} placeholders, e.g. "Google Ads {n}". custom_fields: Custom field values to set on each number. source_id: Tracking source id (TSO... or numeric) to attach the numbers to. receiving_number_ids: RPN ids to forward calls to. route_override: Raw dial_routes body; only if the named routes don't fit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tpn_ids | Yes | ||
| user_id | No | ||
| queue_id | No | ||
| source_id | No | ||
| account_id | No | ||
| token_name | No | ||
| geo_route_id | No | ||
| voice_bot_id | No | ||
| custom_fields | No | ||
| voice_menu_id | No | ||
| route_override | No | ||
| routing_table_id | No | ||
| user_default_action | No | voicemail | |
| receiving_number_ids | No | ||
| conditional_router_id | No | ||
| user_no_answer_seconds | No |