list_numbers
List phone numbers and their routing across sub-accounts, showing type, status, and destination. Filter by account, status, or number type, with automatic pagination.
Instructions
List tracking numbers and their routing across sub-accounts.
Shows which numbers exist, their type (toll-free/local), status, and current routing destination.
Fetches up to max_items numbers per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large number inventory; a truncation warning is included if any account had more than max_items.
Only queries active sub-accounts by default (this is about which
accounts get searched, separate from status, which filters
numbers by their own status). Pass account_status="archived",
"canceled", "paused", or "all" to search other sub-accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| per_page | No | ||
| max_items | No | ||
| account_ids | No | ||
| number_type | No | ||
| name_contains | No | ||
| account_status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |