---
title: "bird voice sequences draft update"
description: "Replace a voice sequence draft"
canonical: "https://bird.com/docs/cli/reference/voice-sequences-draft-update"
---

# `bird voice sequences draft update`

## Usage

```bash
bird voice sequences draft update <sequence-id> [flags]
```

## Description

Replace a voice sequence draft

Replace the complete definition when expected\_revision matches; incomplete nodes may still be saved. Voice sequences are in preview, and the definition format can change in ways that break existing sequences and requests.

Build the request from flags, a JSON VoiceSequenceDraftUpdateRequest 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

```bash
# print the body shape (no credentials needed)
bird voice sequences draft update --example

# the body it prints:
```

```json
{
  "definition": {
    "expression_environment": "bird.cel.v1",
    "nodes": [
      {
        "connections": {
          "event": {
            "node_id": "greet",
            "port": "input"
          }
        },
        "id": "start",
        "type": "trigger.start_call",
        "type_version": 1
      },
      {
        "connections": {
          "next": {
            "node_id": "done",
            "port": "input"
          }
        },
        "id": "greet",
        "input": {
          "language": "en",
          "text": "Hello from Bird."
        },
        "type": "voice.say",
        "type_version": 1
      },
      {
        "config": {
          "reason": "greeted",
          "status": "succeeded"
        },
        "id": "done",
        "input": {
          "output": {
            "greeted": true
          }
        },
        "type": "logic.exit",
        "type_version": 1
      }
    ],
    "schema_version": 1
  },
  "expected_revision": 1,
  "tester_numbers": ["+31612345678"]
}
```

## 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                                                                                                                                    |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `--expected-revision <n>`   | Draft revision read before this change. A stale revision returns 409 without changing the sequence or its draft. (required; or in --body-file) |
| `--tester-numbers <value>…` | Replacement tester list. Omit to preserve the saved list, or send an empty list to clear it.                                                   |
| `--response-schema`         | Print the fields this command returns, then exit                                                                                               |

## Related

| Name                                                                                        | Description                     |
| ------------------------------------------------------------------------------------------- | ------------------------------- |
| [`bird voice sequences draft get`](/docs/cli/reference/voice-sequences-draft-get)           | Get a voice sequence draft      |
| [`bird voice sequences draft preview`](/docs/cli/reference/voice-sequences-draft-preview)   | Preview a voice sequence draft  |
| [`bird voice sequences draft validate`](/docs/cli/reference/voice-sequences-draft-validate) | Validate a voice sequence draft |

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
