WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation sends a voice message to a specified chat session. It is useful for automating voice message delivery in chat applications, such as sending audio notifications, voice alerts, or recorded messages to users or groups.

Use Case Examples

  1. Sending a voice message to a customer support chat to provide audio instructions.
  2. Automating voice alerts in a team chat when a specific event occurs.

Properties

Name Meaning
Session The chat session identifier to which the voice message will be sent.
Chat Id The identifier of the chat where the voice message will be delivered.
File The voice file to send, including its MIME type and URL.
Reply To Optional message ID to which this voice message is a reply.
Request Options Additional request settings such as batching, SSL validation, proxy, and timeout configurations.

Output

JSON

  • sentMessageId - The ID of the sent voice message.
  • status - The status of the send operation (e.g., success or failure).
  • chatId - The chat identifier where the voice message was sent.

Dependencies

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

Troubleshooting

  • Ensure the session and chatId are valid and active to avoid message delivery failures.
  • Verify the file URL is accessible and the MIME type is supported (e.g., audio/ogg; codecs=opus).
  • If SSL errors occur, consider enabling the 'Ignore SSL Issues' option or check the SSL certificate validity.
  • Proxy settings must be correctly configured if used, including authentication if required.
  • Timeouts can be adjusted if the server response is slow to prevent premature request abortion.

Discussion