bird whatsapp business-accounts list
Usage
Exemplo de código
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
Exemplo de código
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
| Name | Description |
|---|---|
| --ending-before | Cursor 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. |
| --order | Sort direction. Defaults to desc, which sorts from newest to oldest or largest to smallest, depending on the selected sort field. Possible values: asc, desc. |
| --sort | Field to sort by. Possible values: created_at. |
| --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 |