# Reaction messages



Reaction messages are emoji reactions that you can apply to a WhatsApp user message you received.

## Limitations

When you send a reaction message, WhatsApp triggers only a [sent message webhook](https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/messages/status) (`status` set to `sent`); it does not trigger delivered or read message webhooks.

## Request syntax

Use the [Messages API](https://developers.facebook.com/documentation/business-messaging/whatsapp/reference/whatsapp-business-phone-number/message-api#post-version-phone-number-id-messages) to apply an emoji reaction on a message you have received from a WhatsApp user.

```html
curl 'https://graph.facebook.com/<API_VERSION>/<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>/messages' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-d '
{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "<WHATSAPP_USER_PHONE_NUMBER>",
  "type": "reaction",
  "reaction": {
    "message_id": "<WHATSAPP_MESSAGE_ID>",
    "emoji": "<EMOJI>"
  }
}'
```

## Request parameters

| Placeholder | Description | Example Value |
| --- | --- | --- |
| `<ACCESS_TOKEN>`<br><br>_String_ | **Required.**<br><br>[System token](https://developers.facebook.com/documentation/business-messaging/whatsapp/access-tokens#system-user-access-tokens) or [business token](https://developers.facebook.com/documentation/business-messaging/whatsapp/access-tokens#business-integration-system-user-access-tokens). | `EAAA...` |
| `<API_VERSION>`<br><br>_String_ | **Optional.**<br><br>Graph API version. | v27.0 |
| `<EMOJI>`<br><br>_String_ | **Required.**<br><br>Unicode escape sequence of the emoji, or the emoji itself, to apply to the user message. | Unicode escape sequence example:<br><br>`\uD83D\uDE00`<br><br>Emoji example:<br><br>😀 |
| `<WHATSAPP_MESSAGE_ID>`<br><br>_String_ | **Required.**<br><br>WhatsApp message ID of message you want to apply the emoji to.<br><br>If the message you are reacting to is more than 30 days old, doesn't correspond to any message in the chat thread, has been deleted, or is itself a reaction message, the reaction message is not delivered and you receive a **messages** webhook with error code `131009`. | `wamid.HBgLMTY0NjcwNDM1OTUVAgASGBQzQUZCMTY0MDc2MUYwNzBDNTY5MAA=` |
| `<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>`<br><br>_String_ | **Required.**<br><br>WhatsApp business phone number ID. | `106540352242922` |
| `<WHATSAPP_USER_PHONE_NUMBER>`<br><br>_String_ | **Required unless you use `recipient`.**<br><br>WhatsApp user phone number. | `+16505551234` |
| `<BSUID>`<br><br>_String_ | **Optional.**<br><br>WhatsApp user's [business-scoped user ID (BSUID)](https://developers.facebook.com/documentation/business-messaging/whatsapp/business-scoped-user-ids) or parent BSUID. To send to a BSUID instead of a phone number, replace the `to` property with `recipient` and set it to this value. If you include both `to` and `recipient`, `to` is used. See [Send to a BSUID](https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/send-messages#send-to-a-bsuid). | `US.13491208655302741918` |

## Example request

Example request to apply the grinning face emoji (😀) to a previously received user message.

```html
curl 'https://graph.facebook.com/v27.0/106540352242922/messages' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer EAAJB...' \
-d '
{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "+16505551234",
  "type": "reaction",
  "reaction": {
    "message_id": "wamid.HBgLMTY0NjcwNDM1OTUVAgASGBQzQUZCMTY0MDc2MUYwNzBDNTY5MAA=",
    "emoji": "\uD83D\uDE00"
  }
}'
```

## Example response

```json
{
  "messaging_product": "whatsapp",
  "contacts": [
    {
      "input": "+16505551234",
      "wa_id": "16505551234"
    }
  ],
  "messages": [
    {
      "id": "wamid.HBgLMTY0NjcwNDM1OTUVAgARGBI1RjQyNUE3NEYxMzAzMzQ5MkEA"
    }
  ]
}
```


If you send the message using `recipient`, the `contacts` object returns the BSUID in `input` and `user_id`, and omits `wa_id`. If `recipient` is a parent BSUID, `contacts` contains only `input`. See [Send to a BSUID](https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/send-messages#send-to-a-bsuid).