Wanesia WhatsApp

Interact with Wanesia WhatsApp API

Overview

This node integrates with the Wanesia WhatsApp API to send various types of WhatsApp messages, including audio messages. Specifically, the 'Send Audio' operation allows users to send audio files to WhatsApp numbers with options for captions, push-to-talk mode, and scheduling the message for a future date and time. This node is useful for automating WhatsApp communications such as sending voice notes, audio announcements, or scheduled audio messages to contacts.

Use Case Examples

  1. Sending an audio message with a caption to a WhatsApp contact immediately.
  2. Scheduling an audio message to be sent at a specific date and time.
  3. Sending a push-to-talk style audio message to a WhatsApp number.

Properties

Name Meaning
Token Authentication token for the Wanesia device, required to authorize the API request.
Number The recipient's WhatsApp number including country code (e.g., 6281234567890).
File URL The URL of the audio file to be sent.
Caption Optional caption text to accompany the audio file.
Push-to-Talk Boolean flag indicating if the audio is a push-to-talk message.
Date Optional scheduled date for sending the message in YYYY-MM-DD format.
Time Optional scheduled time for sending the message in HH:MM:SS format.

Output

JSON

  • token - The token used for the Wanesia device in the request.
  • number - The WhatsApp number to which the audio message was sent.
  • file - The URL of the audio file sent.
  • caption - Caption text sent with the audio message, if any.
  • ptt - Indicates if the audio was sent as push-to-talk ('true' or 'false').
  • date - Scheduled date for sending the message, if specified.
  • time - Scheduled time for sending the message, if specified.

Dependencies

  • Wanesia WhatsApp API

Troubleshooting

  • Ensure the token is valid and has not expired; invalid tokens will cause authentication errors.
  • Verify the WhatsApp number format includes the country code without spaces or special characters.
  • Check that the file URL is accessible and points to a valid audio file format supported by WhatsApp.
  • If scheduling is used, ensure the date and time are in the correct format and represent a valid future time.
  • Network or API downtime may cause request failures; retry or check Wanesia service status if errors occur.

Links

Discussion