bird voice sequences draft preview
Usage
Code example
bird voice sequences draft preview <sequence-id> [flags]Description
Preview a voice sequence draft
Follows one path of the saved draft, or of an unsaved definition in --body-file, with hypothetical media, keypad and dial outcomes from node_samples. Places no call and produces no audio.
Build the request from flags, a JSON VoiceSequencePreviewRequest body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.
Examples
Code example
# print the body shape (no credentials needed)
bird voice sequences draft preview --example
# the body it prints:Code example
{
"entry_node_id": "start",
"trigger_data": {}
}Options
Request
| Name | Description |
|---|---|
--body-file | Read the JSON request body from this file; "-" reads stdin |
--example | Print a complete example request body, then exit |
--dry-run | Print the resolved request without sending it, then exit |
--idempotency-key | Deduplication key; a retry with the same key won't act twice |
Options
| Name | Description |
|---|---|
--entry-node-id | Call entry node to follow (required; or in --body-file) |
--trigger-data | Entry data as a JSON object; use {} when the entry takes no data (required; or in --body-file) |
--response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
bird voice sequences draft get | Get a voice sequence draft |
bird voice sequences draft update | Replace a voice sequence draft |
bird voice sequences draft validate | Validate a voice sequence draft |
Related resources
Continue with the documentation, guides and examples for this topic.