---
title: "bird email threads restore"
description: "Restore a thread from trash"
canonical: "https://bird.com/docs/cli/reference/email-threads-restore"
---

# `bird email threads restore`

## Usage

```bash
bird email threads restore <thread-id> [flags]
```

## Description

Restore messages that remain within their trash deadline and the mailbox retention period. Preserves folder and read state. Repeating the operation does not change messages already restored; canceled scheduled sends remain canceled.

## Examples

```bash
bird email threads restore <id>
```

## Options

| Name                | Description                                                  |
| ------------------- | ------------------------------------------------------------ |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice |
| `--response-schema` | Print the fields this command returns, then exit             |

## Related

| Name                                                                    | Description     |
| ----------------------------------------------------------------------- | --------------- |
| [`bird email threads delete`](/docs/cli/reference/email-threads-delete) | Delete a thread |
| [`bird email threads get`](/docs/cli/reference/email-threads-get)       | Get a thread    |
| [`bird email threads list`](/docs/cli/reference/email-threads-list)     | List threads    |
| [`bird email threads search`](/docs/cli/reference/email-threads-search) | Search threads  |
| [`bird email threads update`](/docs/cli/reference/email-threads-update) | Update a thread |

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