Skip to main content

band app assign

Link a messaging application to a location

Synopsis

Assigns a messaging application to a location (SIP peer). All phone numbers in that location will use this application for messaging.

This is required before you can send messages — the from number must be in a location that has a messaging application assigned to it.

band app assign <app-id> [flags]

Examples

# Assign messaging app to a location
band app assign abc-123 --site 152681 --location 970014

# Find your site and location IDs first
band subaccount list
band location list --site <site-id>

Options

-h, --help help for assign
--location string Location (SIP peer) ID (required)
--site string Sub-account ID (required)

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

  • band app - Manage Bandwidth applications