Send an emoji reaction to a message
cURL
curl --request POST \ --url https://api.example.com/message/sendReaction/:instanceName \ --header 'Content-Type: application/json' \ --data ' { "key": { "remoteJid": "<string>", "fromMe": true, "id": "<string>" }, "reaction": "<string>" } '
{ "key": {}, "message": {} }
Show Key properties
curl -X POST https://your-api.com/message/sendReaction/my-instance \ -H "apikey: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "key": { "remoteJid": "[email protected]", "fromMe": false, "id": "3EB0F2F5E6B5F5B5F5B5F5B5F5B5F5B5" }, "reaction": "👍" }'
Add a reaction
reaction
{ "key": { ...messageKey }, "reaction": "❤️" }
Remove a reaction
{ "key": { ...messageKey }, "reaction": "" }
key
[email protected]
number@lid