Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Grupos WhatsApp → Rejeitar Entrada

AI-generated

Overview

This node operation allows rejecting membership requests to join a WhatsApp group via the Press Ticket API. It is useful for managing group membership by programmatically denying access to specified participants who have requested to join a group. For example, an admin can automate the rejection of unwanted membership requests in a WhatsApp group by specifying the group ID and the participants to reject.

Use Case Examples

  1. Reject membership requests for specific participants in a WhatsApp group by providing the group ID and a comma-separated list of participant phone numbers.
  2. Automate group membership management by rejecting entry requests without manual intervention.

Properties

Name Meaning
ID do Grupo The unique identifier of the WhatsApp group where membership requests are to be rejected.
Participantes Comma-separated phone numbers of participants whose membership requests will be rejected.

Output

JSON

  • success - Indicates if the rejection operation was successful.
  • participants - List of participants whose membership requests were rejected.
  • message - Additional message or status information from the API response.

Dependencies

  • Press Ticket API with an API token for authentication

Troubleshooting

  • Ensure the group ID is valid and corresponds to an existing WhatsApp group.
  • Verify that the participants' phone numbers are correctly formatted and separated by commas.
  • Check that the API token credential is correctly configured and has the necessary permissions to manage group memberships.
  • Common errors include invalid group ID, unauthorized access due to missing or incorrect API token, and malformed participant list. These can be resolved by verifying input parameters and credentials.

Discussion