WSAPI Message

Send and manage WhatsApp messages via WSAPI

Overview

This node allows you to mark a WhatsApp message as read by sending a read receipt through the WSAPI service. It is useful in scenarios where you want to programmatically update the read status of messages in a chat, for example, to synchronize message states between systems or automate message handling workflows.

Practical examples include:

  • Automatically marking incoming messages as read after processing them.
  • Updating message read status in bulk based on external triggers.
  • Integrating with customer support tools to reflect message read receipts.

Properties

Name Meaning
Chat ID WhatsApp ID of the chat containing the message (e.g., phone number with @s.whatsapp.net)
Message Sender ID WhatsApp ID of the sender of the message
Receipt Type Type of read receipt to send; options are: Read, Delivered, or Played

Output

The output JSON contains the response from the WSAPI service after attempting to mark the message as read. This typically includes confirmation details or status information about the read receipt operation.

No binary data is output by this operation.

Dependencies

  • Requires an API key credential and instance ID configured for the WSAPI service.
  • The node makes HTTP PUT requests to the WSAPI endpoint to update message read status.
  • Proper network access to the WSAPI base URL is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing chat ID or message sender ID can cause failures.
    • Incorrect or expired API credentials will result in authentication errors.
    • Network connectivity problems may prevent successful API calls.
  • Error messages:

    • Authentication errors indicate invalid API keys or instance IDs; verify and update credentials.
    • "Message not found" or similar errors suggest incorrect message or chat identifiers.
    • Timeout or connection errors require checking network access and WSAPI service availability.

Links and References

  • WSAPI official documentation (refer to your WSAPI provider's docs for detailed API usage)
  • WhatsApp Business API read receipt concepts (for understanding receipt types)

Discussion