bird whatsapp agents allowlist list
Usage
Code example
bird whatsapp agents allowlist list <number-id> [flags]Description
List the allowlist entries the agent on this WhatsApp number holds, as a cursor page.
Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.
Examples
Code example
bird whatsapp agents allowlist list <number-id>
bird whatsapp agents allowlist list <number-id> | jq -r '.data[].id'
bird whatsapp agents allowlist list <number-id> --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. Allowed range: 1 to 100. |
--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 agents allowlist create | Add a contact to an agent's allowlist |
bird whatsapp agents allowlist delete | Remove one of an agent's allowlist entries |
bird whatsapp agents allowlist get | Get one of an agent's allowlist entries |
Related resources
Continue with the documentation, guides and examples for this topic.