# `bird amb routing-rules list`

## Usage

```bash
bird amb routing-rules list [flags]
```

## Description

Returns the workspace's Apple Messages for Business routing rules, highest precedence first. A rule only runs when a conversation is created or reopened, matching it to a queue based on the group and intent its entry point carried. It never runs again while the conversation stays open, so a queue an operator moves a conversation to is not overwritten by the next message the customer sends.

## Examples

```bash
bird amb routing-rules list
```

## Options

| Name                | Description                                                                                                      |
| ------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `--business-id`     | Keep only routing rules belonging to this business. Omit to return rules across all businesses in the workspace. |
| `--response-schema` | Print the fields this command returns, then exit                                                                 |

## Related

| Name                                                                            | Description                                        |
| ------------------------------------------------------------------------------- | -------------------------------------------------- |
| [`bird amb routing-rules create`](/docs/cli/reference/amb-routing-rules-create) | Create an Apple Messages for Business routing rule |
| [`bird amb routing-rules delete`](/docs/cli/reference/amb-routing-rules-delete) | Delete an Apple Messages for Business routing rule |
| [`bird amb routing-rules get`](/docs/cli/reference/amb-routing-rules-get)       | Get an Apple Messages for Business routing rule    |
| [`bird amb routing-rules update`](/docs/cli/reference/amb-routing-rules-update) | Update an Apple Messages for Business routing rule |

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