WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation allows users to star a specific message in a WhatsApp session using the WARest WhatsApp REST API. It is useful for marking important messages for easy retrieval or highlighting within a chat. For example, a user can star a message containing critical information or a task reminder to quickly find it later.

Use Case Examples

  1. Star a message in a chat by providing the session ID, recipient chat ID, and the message ID to be starred.
  2. Use this operation to organize important messages by starring them for quick access.

Properties

Name Meaning
Session The WhatsApp session identifier to use for the operation, selected from existing sessions or entered manually.
Recipient / Chat (to) The phone number or JID of the chat where the message to star is located.
Message ID The unique identifier of the message to be starred within the chat.

Output

JSON

  • json - The response from the WARest API after starring the message, typically containing confirmation or details of the starred message.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the session ID is valid and active; an invalid session will cause the operation to fail.
  • Verify the recipient/chat ID and message ID are correct and correspond to an existing message in the session.
  • Common errors include 'Operation not implemented' if the operation name is incorrect, or API errors if the session or message IDs are invalid.
  • Check network connectivity and API server availability if requests fail.

Links

Discussion