band bxml speak
Generate a SpeakSentence BXML verb
Synopsis
Generates a Response containing a SpeakSentence verb for the given text. Use --voice to select a specific Bandwidth voice.
band bxml speak <text> [flags]
Examples
band bxml speak "Hello, welcome to Bandwidth."
band bxml speak --voice julie "Press 1 for sales."
band bxml speak "Goodbye." > hangup.xml
Options
-h, --help help for speak
--voice string Voice to use for speech (e.g. Susan)
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 bxml - Generate Bandwidth XML (BXML) snippets