bird whatsapp business-accounts list
Usage
Code example
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.
Procedure
Step 1 of 7 of "Author a WhatsApp template and get it approved". Next: bird whatsapp templates create.
Examples
Code example
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 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. |
| --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 |
Related
| Name | Description |
|---|---|
| bird whatsapp business-accounts get | Get a WhatsApp Business Account |
Related resources
Continue with the documentation, guides and examples for this topic. Resources are in English.
Watch the guideConnecting WhatsApp to Bird: from buying a number to a live channelUnderstand the conceptWhat is the 24-hour customer service window on WhatsApp?Use the toolWhatsApp message builderExplore the capabilityWhatsApp
Try the practice and get an implementation brief