---
title: "bird voice sequences versions restore-draft"
description: "Restore a voice sequence draft"
canonical: "https://bird.com/docs/cli/reference/voice-sequences-versions-restore-draft"
---

# `bird voice sequences versions restore-draft`

## Usage

```bash
bird voice sequences versions restore-draft <sequence-id> <version-id> [flags]
```

## Description

Restore a voice sequence draft

Copy a retained definition into the draft without changing the active authoring version.

Build the request from flags, a JSON VoiceSequenceLifecycleRequest 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 versions restore-draft --example

# the body it prints:
```

```json
{
  "expected_revision": 1
}
```

## 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) |
| `--response-schema`       | Print the fields this command returns, then exit                                                                                               |

## Related

| Name                                                                                              | Description                      |
| ------------------------------------------------------------------------------------------------- | -------------------------------- |
| [`bird voice sequences versions get`](/docs/cli/reference/voice-sequences-versions-get)           | Get a voice sequence publication |
| [`bird voice sequences versions list`](/docs/cli/reference/voice-sequences-versions-list)         | List voice sequence publications |
| [`bird voice sequences versions rollback`](/docs/cli/reference/voice-sequences-versions-rollback) | Roll back a voice sequence       |

## 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)
