> For the complete documentation index, see [llms.txt](https://docs.astraapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.astraapi.com/integrando/mensagens/reagir-a-uma-mensagem.md).

# Reagir a uma mensagem

<figure><img src="/files/c48AyUvIchMCRL1uvOwJ" alt=""><figcaption></figcaption></figure>

### Exemplo de body a ser enviado

```json
{
    "phone": "557999070094@s.whatsapp.net",
    "text": "👍",
    "fromMe": false,
    "messageId": "BAE5AA6AB01EE50B"
}
```

<mark style="color:green;">`POST`</mark> `https://api.astraapi.com/api/message/send/reaction/{{instanceId}}`

#### Path Parameters

| Name                                         | Type   | Description     |
| -------------------------------------------- | ------ | --------------- |
| instanceId<mark style="color:red;">\*</mark> | Number | id da instancia |

#### Headers

| Name                                            | Type   | Description            |
| ----------------------------------------------- | ------ | ---------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Seu token de segurança |

#### Request Body

| Name                                        | Type    | Description                                                                          |
| ------------------------------------------- | ------- | ------------------------------------------------------------------------------------ |
| phone<mark style="color:red;">\*</mark>     | String  | telefone ou grupo que vai receber a media                                            |
| fromMe<mark style="color:red;">\*</mark>    | Boolean | Campo que indica se a mensagem a ser respondida foi enviada pelo seu WhatsApp ou não |
| messageId<mark style="color:red;">\*</mark> | String  | id da mensagem que será reagida                                                      |
| text<mark style="color:red;">\*</mark>      | String  | Emoji de reação                                                                      |

{% tabs %}
{% tab title="200: OK Id da mensagem" %}

```json
{
    "id": "BAE5D89310AFAE85"
}
```

{% endtab %}
{% endtabs %}
