Sign inGet started

bird whatsapp templates versions list

Usage

Code example
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

Code example
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

NameDescription
--ending-beforeCursor 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-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.

Filters

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird whatsapp templates versions createCreate a template draft
bird whatsapp templates versions deleteDelete a template's open draft
bird whatsapp templates versions getGet a template version
bird whatsapp templates versions submitSubmit a template version for review