Messages
React to message
Add or replace your reaction to a message (e.g. ๐ on an inbound message; use the `key` from list messages, which carries the group sender).
Pass an empty emoji string to remove. 404 when the Gateway does not hold the message, 503 when no engine is online. Requires chats:write.
Request
curl -X POST "https://api.blueticks.co/v1/messages/reactions/" \ -H "Content-Type: application/json" \ -d '{ "emoji": "" }'{
"success": true,
"data": {
"ok": true
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"request_id": "string",
"requestId": "string",
"details": [
{
"path": "string",
"code": "string",
"message": "string"
}
],
"candidates": [
{
"numberId": "string",
"phoneNumber": "string"
}
],
"upgrade": {
"url": "string",
"text": "string",
"reset_time": "string",
"seconds_remaining": 0,
"plan": {}
}
}
}Path Parameters
waMessageKey*string
The complete WhatsApp message key (<fromMe>_<chatJid>_<id>[_<participant>]), e.g. false_120363426216988013@g.us_3EB0659D13650092D677AD_188450464616609@lid.
Query Parameters
chatId?string
Optional. Only used to find the message faster โ when you pass a bare message id instead of the complete key, chatId lets the server rebuild the full key. If you pass the complete waMessageKey you can omit it.
Request Body
application/json
Response
Response Body
application/json
application/json