---
title: "bird email blocks list"
description: "List reusable email blocks"
canonical: "https://bird.com/docs/cli/reference/email-blocks-list"
---

# `bird email blocks list`

## Usage

```bash
bird email blocks list [flags]
```

## Description

List reusable blocks without their content. `q` matches part of the block name, and leaving out `archived` returns active and archived blocks together. Read a language's section with `bird email blocks languages get`.

Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

## Examples

```bash
bird email blocks list
bird email blocks list | jq -r '.data[].id'
bird email blocks list --limit 50 --starting-after <cursor>
```

## Options

#### Filters

| Name                | Description                                                              |
| ------------------- | ------------------------------------------------------------------------ |
| `--archived`        | Return only archived blocks when true, or only active blocks when false. |
| `--q`               | Case-insensitive text to match within the block name.                    |
| `--response-schema` | Print the fields this command returns, then exit                         |

#### Pagination

| Name               | Description                                                                                                                                                                                                                                                                                                                                             |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--ending-before`  | Cursor from the prev\_cursor or refresh\_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. prev\_cursor returns the preceding page. refresh\_cursor anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since. |
| `--include-total`  | When true, the response includes a total field with the total number of items matching the request's filters across all pages.                                                                                                                                                                                                                          |
| `--limit <n>`      | Maximum number of items to return per page. Allowed range: 1 to 100.                                                                                                                                                                                                                                                                                    |
| `--order`          | Sort direction. Defaults to desc, which sorts from newest to oldest or largest to smallest, depending on the selected sort field. Possible values: asc, desc.                                                                                                                                                                                           |
| `--sort`           | Field to sort by. Defaults to created\_at. Possible values: created\_at, name.                                                                                                                                                                                                                                                                          |
| `--starting-after` | Cursor from the next\_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.                                                                                                                                                                                                          |

## Related

| Name                                                                        | Description                       |
| --------------------------------------------------------------------------- | --------------------------------- |
| [`bird email blocks create`](/docs/cli/reference/email-blocks-create)       | Create a reusable email block     |
| [`bird email blocks duplicate`](/docs/cli/reference/email-blocks-duplicate) | Duplicate a reusable email block  |
| [`bird email blocks get`](/docs/cli/reference/email-blocks-get)             | Get a reusable email block        |
| [`bird email blocks publish`](/docs/cli/reference/email-blocks-publish)     | Publish a reusable email block    |
| [`bird email blocks update`](/docs/cli/reference/email-blocks-update)       | Update a reusable email block     |
| [`bird email blocks validate`](/docs/cli/reference/email-blocks-validate)   | Validate a reusable email section |

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