bird whatsapp templates versions list
Usage
Esempio di codice
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
Esempio di codice
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 | Create a template draft |
| bird whatsapp templates versions delete | Delete a template's open draft |
| bird whatsapp templates versions get | Get a template version |
| bird whatsapp templates versions submit | Submit a template version for review |