Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation lists join requests for a specified WhatsApp group using the WARest WhatsApp REST API. It is useful for administrators who want to manage and review pending join requests to their WhatsApp groups. For example, a group admin can use this node to fetch all pending join requests and then decide to approve or reject them using other node operations.
Use Case Examples
- Fetch all pending join requests for a group to review new members before approval.
- Automate group membership management by listing join requests and processing them accordingly.
Properties
| Name | Meaning |
|---|---|
| Session | Identifier of the WhatsApp session to use for the API call. It can be selected from a list or entered manually. |
| Group ID | The unique identifier (JID) of the WhatsApp group for which to list join requests. It should end with @g.us or be the raw group ID. |
Output
JSON
json- Array of join request objects returned by the WARest API, each representing a pending join request for the specified group.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID is valid and active; otherwise, the API call will fail.
- Verify the group ID is correct and corresponds to a group where the session has admin privileges.
- Common error messages include 'Operation not implemented' if the operation name is incorrect, or API errors if authentication fails or parameters are missing.
- If no join requests are returned, verify that there are pending requests for the group.
Links
- WARest WhatsApp REST API - Official repository and documentation for the WARest API used by this node.
