# `bird email mailboxes receive-rules list`

## Usage

```bash
bird email mailboxes receive-rules list <mailbox-id> [flags]
```

## Description

List a mailbox's allow/block receive rules as a cursor page, oldest first. Filter by action.

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

## Examples

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

## Options

#### Filters

| Name                | Description                                      |
| ------------------- | ------------------------------------------------ |
| `--action`          | Filter by rule action.                           |
| `--response-schema` | Print the fields this command returns, then exit |

#### Pagination

| Name               | Description                                                                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `--ending-before`  | Cursor from the prev_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. |
| `--limit <n>`      | Maximum number of items to return per page.                                                                                                    |
| `--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 mailboxes receive-rules create`](/docs/cli/reference/email-mailboxes-receive-rules-create) | Add a receive rule    |
| [`bird email mailboxes receive-rules delete`](/docs/cli/reference/email-mailboxes-receive-rules-delete) | Delete a receive rule |