Skip to main content

band number list

List phone numbers on the account

Synopsis​

Lists phone numbers on the active account.

By default, returns only numbers in service (ready to route calls or send messages). Pass --status to include numbers in other states.

band number list [flags]

Examples​

band number list # default: only in-service
band number list --status Inservice,InAccount # include numbers just ordered
band number list --status Aging # numbers being released

Options​

-h, --help help for list
--status string Comma-separated statuses to include. Common values: Inservice (live), InAccount (assigned, not yet live), Aging (released, in aging period). (default "Inservice")

Options inherited from parent commands​

--account-id string Bandwidth account ID (overrides config)
--environment string API environment: prod, test (overrides config)
--format string Output format: json or table (default "json")
--plain Simplified flat JSON output (recommended for scripts and agents)

SEE ALSO​