Documentation
Sign inGet started

bird whatsapp business-accounts list

Usage

Codebeispiel
bird whatsapp business-accounts list [flags]

Description

List the WhatsApp Business Accounts the workspace has connected, as a cursor page, with the state WhatsApp reports for each. The waba a returned account carries is the same value that ties a number to its account, and the one bird whatsapp numbers list's waba filter takes.
Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Codebeispiel
bird whatsapp business-accounts list
bird whatsapp business-accounts list | jq -r '.data[].id'
bird whatsapp business-accounts list --limit 50 --starting-after <cursor>

Options

Pagination

NameDescription
--ending-beforeCursor from the prev_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order.
--limit <n>Maximum number of items to return per page.
--orderSort direction. Defaults to desc, which sorts from newest to oldest or largest to smallest, depending on the selected sort field. Possible values: asc, desc.
--sortField to sort by. Possible values: created_at.
--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