Skip to main content

band tollfree template

Look up the routing template assigned to toll-free numbers

Synopsis​

Returns the toll-free routing template name assigned to each number.

The template identifies how inbound calls to the number are routed at the toll-free registry level. Numbers must be in-service on the account. Up to 5000 numbers per invocation.

This endpoint is gated per account: a 403 means toll-free template search is not enabled — ask your Bandwidth account manager to enable it.

band tollfree template <number> [number...] [flags]

Examples​

band tollfree template +18005551234
band tollfree template 8005551234 8885551234 --plain

Options​

-h, --help help for template

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​