band account send-code
Send (or resend) a phone verification code for a pending registration
Synopsis
Sends a verification code to the phone number from a pending "band account register" call.
There is no separate MFA-consent flag: choosing "sms" is itself the customer's consent to receive that one-time code by text message. Choosing "voice" places a phone call instead and records no such consent. This is independent of "band account register"'s --sms-opt-in, which is marketing consent, not verification-code delivery consent.
band account send-code [flags]
Examples
band account send-code --phone +19195551234 --email user@example.com --delivery-channel sms
band account send-code --phone +19195551234 --email user@example.com --delivery-channel voice
Options
--delivery-channel string Verification code delivery channel: sms or voice (required — the choice itself is the customer's consent to receive the code via that channel)
--email string Email address used during registration (required)
-h, --help help for send-code
--phone string Phone number in E.164 format, matching a pending registration (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 account - Manage Bandwidth account registration