Sign inGet Started

bird whatsapp templates list-events

Usage

Exemple de code
bird whatsapp templates list-events <template-ref> [flags]

Description

The history of a WhatsApp template's languages as a cursor page, newest first: each status WhatsApp gave a language, such as an approval, a rejection, a pause, or a reinstatement, and each change of its quality rating, since Bird began recording them. Pass language to read one language. Use it to see when Bird recorded a pause or a rating drop; bird whatsapp templates get gives only the current values. A repeated pause on a language that is still paused is listed only when WhatsApp reports it, so the count can be lower than the number of pauses WhatsApp applied. A Bird-managed template returns an empty page. An unknown template returns 404.

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

Examples

Exemple de code
bird whatsapp templates list-events <template-ref>
bird whatsapp templates list-events <template-ref> | jq -r '.data[].id'
bird whatsapp templates list-events <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. Allowed range: 1 to 100.
--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
--languageReturn only this language's events. A BCP-47 tag; case and separator differences are accepted and normalized.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird whatsapp templates createCreate a WhatsApp template, optionally seeding its first draft
bird whatsapp templates deleteDelete a message template
bird whatsapp templates duplicateDuplicate a message template
bird whatsapp templates getGet a message template
bird whatsapp templates listList available message templates
bird whatsapp templates updateUpdate a message template

Poursuivez avec la documentation, les guides et les exemples sur ce sujet.