Description
This endpoint allows adding an emoji reaction to a specific message in a chat. To remove a reaction, send an empty string in thereaction field.
Note: This endpoint uses the HTTP PUT method, not POST.
Body
Body Parameters
| Property | Type | Required | Description |
|---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will add the reaction |
jid | string | ✅ Yes | Chat identifier (WhatsApp JID). Format: 5511999999999@s.whatsapp.net for contacts or 120363XXXXX@g.us for groups |
messageId | string | ✅ Yes | Message ID que receberá a reaction |
sender | string | ✅ Yes | JID do remetente da message original |
reaction | string | ✅ Yes | Emoji da reaction (example: ❤️, 👍, 😂). Use string vazia ("") para remover a reaction |
Status Codes
200- Reaction adicionada/removed successfully400- Invalid parameters401- Unauthorized session404- Session not found
Usage Example
Authorizations
Your Wappfy API key (get it at dash.wappfy.com.br)
Body
application/json
Response
200 - application/json
The response is of type object.
