Skip to content

Reaction Messages

Send WhatsApp reaction emojis on existing messages. Acknowledge, agree or react to user messages without sending a full reply.

View .md

React to messages with emoji to acknowledge receipt or add context without sending a full reply.

React to a Message

The easiest way to react is using the reactions endpoint:

const reaction = await zavu.messages.react("msg_abc123", { emoji: "👍" });

React Using Message Type

You can also send a reaction as a message by specifying the WhatsApp message ID:

const message = await zavu.messages.send({ to: "+14155551234", channel: "whatsapp", messageType: "reaction", content: { emoji: "👍", reactToMessageId: "wamid.abc123..." } });

Remove a Reaction

Send an empty string as the emoji to remove a reaction:

JSON
{ "to": "+14155551234", "channel": "whatsapp", "messageType": "reaction", "content": { "emoji": "", "reactToMessageId": "wamid.abc123..." } }

Specifications

PropertyRequirement
emojiRequired, single emoji (empty string to remove)
reactToMessageIdRequired, the WhatsApp message ID to react to

Use Cases

  • Acknowledge message receipt
  • Quick approval/rejection indicators
  • Add emotional context
  • Non-intrusive confirmations