WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation mutes a WhatsApp channel within a specified session. It is useful for scenarios where you want to temporarily silence notifications or messages from a particular WhatsApp channel without deleting or disconnecting it. For example, muting a channel during non-working hours or when managing multiple channels to reduce distractions.

Use Case Examples

  1. Muting a WhatsApp channel by providing the session name and channel ID to stop receiving notifications from that channel.
  2. Using batching options to mute multiple channels in controlled batches to avoid rate limits.

Properties

Name Meaning
Session The name of the session to which the WhatsApp channel belongs. This identifies the user session context for the operation.
Id The unique identifier of the WhatsApp channel to be muted. This is required to specify which channel to mute.
Request Options Optional settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • success - Indicates whether the mute operation was successful.
  • channelId - The ID of the WhatsApp channel that was muted.
  • session - The session name under which the channel was muted.

Dependencies

  • Requires an API key credential or authentication token to access the WhatsApp service.

Troubleshooting

  • Ensure the session name and channel ID are correct and correspond to an active WhatsApp session and channel.
  • If the operation fails due to SSL issues, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.
  • Proxy settings must be correctly configured if used; incorrect proxy details can cause request failures.

Discussion