Sign inGet Started

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

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--entry-node-idCall entry node to follow (required; or in --body-file)
--trigger-dataEntry data as a JSON object; use {} when the entry takes no data (required; or in --body-file)
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird voice sequences draft getGet a voice sequence draft
bird voice sequences draft updateReplace a voice sequence draft
bird voice sequences draft validateValidate a voice sequence draft

Continue with the documentation, guides and examples for this topic.