Browse guides

Reactions

How to send a reaction (emoji) to a specific WhatsApp message using the WhatsApp Cloud API, and how to remove a reaction.

On this page

A reaction message adds an emoji reaction to a specific message in a conversation, just like long-pressing a message in WhatsApp and picking an emoji. You can also remove an existing reaction by sending an empty emoji. You must provide the message_id (wamid) of the message you want to react to.

Add a reaction#

json
{
  "messaging_product": "whatsapp",
  "to": "919959623255",
  "type": "reaction",
  "reaction": {
    "message_id": "wamid.HBgMOTE5OTU5NjIzMjU1...",
    "emoji": "👍"
  }
}

Remove a reaction#

Send the same request with an empty string for emoji:

json
{
  "messaging_product": "whatsapp",
  "to": "919959623255",
  "type": "reaction",
  "reaction": {
    "message_id": "wamid.HBgMOTE5OTU5NjIzMjU1...",
    "emoji": ""
  }
}

Fields#

FieldRequiredDescription
reaction.message_idyesThe wamid of the message to react to
reaction.emojiyesAny single Unicode emoji. Empty string removes the reaction.

Reference image#

Reaction example
A WhatsApp message ("Perfect, thank you!") with an emoji reaction displayed below it.

Frequently asked#

How do I react to a WhatsApp message with an emoji?

Set type to "reaction", provide the message_id (wamid) of the message you want to react to, and the emoji character in reaction.emoji.

How do I remove a reaction?

Send the same reaction message with "emoji": "" (empty string).

Where do I get the message_id to react to?

From the API response when the message was sent (messages[0].id), or from the webhook payload when the message was received.

Can I react to any message in the conversation?

You can react to messages within the 24-hour customer service window. Reactions to very old messages may fail.

Gotchas & common mistakes#

Still stuck? Open a support ticket and our team will help.