# `bird whatsapp agents notifications list`

## Usage

```bash
bird whatsapp agents notifications list <number-id> [flags]
```

## Description

List the notifications sent to the agent on this WhatsApp number, newest first, each with what came of it, as a cursor page.

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

## Examples

```bash
bird whatsapp agents notifications list <number-id>
bird whatsapp agents notifications list <number-id> | jq -r '.data[].id'
bird whatsapp agents notifications list <number-id> --limit 50 --starting-after <cursor>
```

## Options

#### 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. |
| `--limit <n>`      | Maximum number of items to return per page. Allowed range: 1 to 100.                                                                                                                                                                                                                                                                                    |
| `--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.                                                                                                                                                                                                          |

#### Filters

| Name                | Description                                                                                                                                                                          |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `--response-schema` | Print the fields this command returns, then exit                                                                                                                                     |
| `--status`          | Return only notifications in this state. Possible values: accepted, success, skipped, failed.                                                                                        |
| `--to`              | Return only notifications about this contact, a phone number in E.164 format or a business-scoped user ID. A phone number is normalized before matching, so spacing does not matter. |

## Related

| Name                                                                                                    | Description                         |
| ------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [`bird whatsapp agents notifications create`](/docs/cli/reference/whatsapp-agents-notifications-create) | Send an agent a notification        |
| [`bird whatsapp agents notifications get`](/docs/cli/reference/whatsapp-agents-notifications-get)       | Get a notification sent to an agent |

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