Skip to main content
WEBHOOK
messages-reaction
{
  "event": "messages.reaction",
  "data": {
    "id": "<string>",
    "event": "messages.reaction",
    "metadata": [
      "<any>"
    ],
    "me": {
      "id": "<string>",
      "pushName": "<string>"
    },
    "payload": {
      "id": "<string>",
      "timestamp": 123,
      "from": "<string>",
      "fromMe": true,
      "reaction": {
        "text": "<string>",
        "messageId": "<string>"
      }
    },
    "instanceId": "<string>",
    "userId": "<string>"
  }
}

message.reaction

Receive events when a message is reacted to by a user (or yourself reacting to a message).
  • payload.reaction.text - emoji that was used to react to the message. It’ll be an empty string if the reaction was removed.
  • payload.reaction.messageId - id of the message that was reacted to.

Headers

x-userId
string
required

User UUID associated with the connected WhatsApp instance.

x-instanceId
string
required

Instance UUID of the connected WhatsApp instance.

Body

application/json
event
enum<string>
Available options:
messages.reaction
data
object

Response

200

The API successfully processed the message reaction and returned a status of 200, confirming successful receipt and handling of the information.

I