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 allows users to reject join requests to a WhatsApp group using the WARest WhatsApp REST API. It is useful for group administrators who want to manage membership requests by denying access to certain participants. For example, if a user requests to join a group but does not meet the criteria set by the admin, this operation can be used to reject their request programmatically.
Use Case Examples
- Reject a join request from a specific participant in a WhatsApp group by providing the session ID, group ID, and participant JID or phone number.
- Automate group membership management by rejecting multiple join requests based on custom logic in an n8n workflow.
Properties
| Name | Meaning |
|---|---|
| Session | Identifier of the WhatsApp session to use for the operation. It can be selected from a list or entered manually. |
| Group ID | The unique identifier (JID) of the WhatsApp group where the join request is to be rejected. |
| Participants | List of participants (JIDs or phone numbers) whose join requests are to be rejected. Multiple participants can be specified. |
Output
JSON
json- The JSON response from the WARest API indicating the result of the reject join request operation.
Dependencies
- WARest WhatsApp REST API
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 user has admin rights.
- Make sure the participants' JIDs or phone numbers are correctly formatted and exist in the join requests.
- Common error messages include authorization errors if the session is invalid or permission errors if the user is not an admin of the group. Check credentials and group admin status to resolve these issues.
