Sign inGet started

bird whatsapp groups join-requests list

Usage

Exemple de code
bird whatsapp groups join-requests list <group-id> [flags]

Description

List the people waiting to be let into a group, oldest first, as a cursor page. Only a group created with join_approval_mode approval_required collects them. Decide them with the batch-approve and batch-reject operations.
Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Procedure

Step 4 of 5 of "Create a WhatsApp group and let people into it". Previous: bird whatsapp groups get. Next: bird whatsapp groups join-requests approve.

Examples

Exemple de code
bird whatsapp groups join-requests list <group-id>
bird whatsapp groups join-requests list <group-id> | jq -r '.data[].id'
bird whatsapp groups join-requests list <group-id> --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.
--orderSort direction. Defaults to asc, which sorts alphabetically or from oldest to newest, 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
NameDescription
bird whatsapp groups join-requests approveApprove WhatsApp group join requests
bird whatsapp groups join-requests rejectReject WhatsApp group join requests