Skip to main content

band call create

Make an outbound voice call

Synopsis

Initiates an outbound voice call. The call starts dialing immediately. Bandwidth will POST to the answer-url for BXML instructions when the call connects.

band call create [flags]

Examples

# Fire and forget
band call create --from +19195551234 --to +15559876543 --app-id abc-123 --answer-url https://example.com/voice

# Wait for call to complete
band call create --from +19195551234 --to +15559876543 --app-id abc-123 --answer-url https://example.com/voice --wait

Options

--answer-url string Answer callback URL (required)
--app-id string Application ID (required)
--from string Caller ID (required)
-h, --help help for create
--timeout duration Maximum time to wait (default 120s) (default 2m0s)
--to string Destination number (required)
--wait Wait until the call reaches a terminal state

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