WasenderAPI icon

WasenderAPI

Manage WasenderAPI sessions, messages, contacts, and groups

Contact → Unblock Contact

AI-generated

Overview

This node operation unblocks a specified contact in a WhatsApp session using the WasenderAPI. It is useful in scenarios where a previously blocked contact needs to be allowed to send and receive messages again. For example, if a user accidentally blocked a contact or wants to resume communication with a contact, this operation can be used to unblock them.

Use Case Examples

  1. Unblocking a contact by selecting the contact from a list or by providing their JID (Jabber ID).
  2. Automatically using the session from the incoming item or selecting a specific session to perform the unblock operation.

Properties

Name Meaning
Session Optional session selection to specify which WhatsApp session to use for the operation. Can be selected from a list or by ID. If not provided, the session from the incoming item is used automatically.
Contact The contact to unblock, specified either by selecting from a list of contacts or by providing the contact's JID (e.g., 212612345678@s.whatsapp.net).
Options Additional request options for the API call, including retry behavior and maximum retry attempts.

Output

JSON

  • json - The JSON response from the WasenderAPI after unblocking the contact, containing details about the unblock operation and the contact.

Dependencies

  • Requires an API key credential for WasenderAPI to authenticate requests.

Troubleshooting

  • Common issues include providing an invalid or missing contact JID, which will cause the API request to fail.
  • If the session ID is not provided and cannot be auto-selected from the input data, the node will throw an error indicating that a session is required.
  • Network or API errors may occur; enabling retry options can help mitigate transient failures.

Discussion