# `bird whatsapp templates versions list`

## Usage

```bash
bird whatsapp templates versions list <template-ref> [flags]
```

## Description

List a WhatsApp template's versions, newest first. Each version is one immutable submission; an open draft, if one exists, appears alongside them. Use this to find the version a send resolves to, or the draft still being edited.

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

## Examples

```bash
bird whatsapp templates versions list <template-ref>
bird whatsapp templates versions list <template-ref> | jq -r '.data[].id'
bird whatsapp templates versions list <template-ref> --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.                                                                                                                                                                                                                                                                                                             |
| `--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 |

## Related

| Name                                                                                                | Description                          |
| --------------------------------------------------------------------------------------------------- | ------------------------------------ |
| [`bird whatsapp templates versions create`](/docs/cli/reference/whatsapp-templates-versions-create) | Create a template draft              |
| [`bird whatsapp templates versions delete`](/docs/cli/reference/whatsapp-templates-versions-delete) | Delete a template's open draft       |
| [`bird whatsapp templates versions get`](/docs/cli/reference/whatsapp-templates-versions-get)       | Get a template version               |
| [`bird whatsapp templates versions submit`](/docs/cli/reference/whatsapp-templates-versions-submit) | Submit a template version for review |