Actions55
- Message Actions
- Contact Actions
- Chat Actions
- Group Actions
- Queue Actions
- Account Actions
- Session Actions
- Session Control Actions
- Call Actions
Group → Reject Join Requests
AI-generatedOverview
The node integrates with the Maytapi WhatsApp Unofficial API, enabling automation of various WhatsApp-related tasks. Specifically for the Group resource and Reject Join Requests operation, it allows users to reject pending join requests to a WhatsApp group by specifying the group ID and the phone numbers of the users whose requests should be rejected.
This is useful in scenarios where group administrators want to programmatically manage membership requests, automatically rejecting unwanted or suspicious join requests without manual intervention.
Example use case:
An organization managing a large WhatsApp group can automate the rejection of join requests from certain phone numbers based on predefined criteria, improving moderation efficiency.
Properties
| Name | Meaning |
|---|---|
| Phone ID Source | Select how to provide the Phone ID: either "From Credentials" (uses Phone ID stored in credentials) or "Custom" (enter a custom Phone ID). |
| Phone ID | The WhatsApp instance Phone ID to use when "Custom" is selected as Phone ID Source. Required if using custom. |
| Group ID | The unique identifier of the WhatsApp group (conversation ID ending with @g.us) where join requests will be rejected. |
| Phone Numbers to Approve/Reject | Comma-separated list of phone numbers (without @c.us suffix) whose join requests will be rejected. These numbers are typically obtained from the approval request list. |
Output
The node outputs JSON data representing the response from the Maytapi API after attempting to reject the specified join requests. The structure depends on the API's response but generally includes success status and any relevant messages or error details.
No binary data output is produced for this operation.
Dependencies
- Requires an active Maytapi WhatsApp API account with valid API credentials (an API key credential).
- The Phone ID must be provided either via credentials or manually as a custom value.
- Network access to the Maytapi API endpoint (
https://api.maytapi.com/api) is required.
Troubleshooting
- Missing Phone ID Error: If neither credentials nor custom Phone ID is provided, the node throws an error stating that Phone ID is required. Ensure you have set the Phone ID correctly.
- Invalid Group ID: Providing an incorrect or malformed Group ID may cause API errors. Verify the Group ID format ends with
@g.us. - Empty or Malformed Phone Numbers List: The list of phone numbers to reject must be comma-separated and without the
@c.ussuffix. Incorrect formatting may lead to API rejection. - API Errors: Any errors returned by the Maytapi API (e.g., authentication failure, rate limits) will be passed through in the node output. Check your API key validity and usage limits.
- Network Issues: Connectivity problems to the Maytapi API endpoint will cause failures. Ensure stable internet connection and no firewall blocking.
Links and References
- Maytapi Official Website
- Maytapi WhatsApp API Documentation (for detailed API endpoints and parameters)