Send message reactions

You can use WhatsApp API to react to messages in your individual and group chats with emojis

First you need to know the id of the message you want to put a reaction on. By using a webhook, you'll know exactly about all incoming messages and can target which messages to react to.

This is an example of a webhook for an incoming text message:

  "messages": [
      "from_me": false, // this is an incoming message, otherwise true
      "type": "text", // type message
      "chat_id": "",
      "timestamp": 1697532322,
      "source": "web", // "source": "mobile"
      "text": {
        "body": "Hello!"
      "from_name": "John Doe"
  "event": {
    "type": "messages",
    "event": "post"
  "channel_id": "Your Channel ID"

You can also get the message id without using webhook by using the get message method:

Now you need to use an API method to send a response to a specific message:

Last updated