संदेश
React to a message
PUT
Adds (or removes, with an empty reaction) an emoji on a message, by message_id. No recipient needed: the chat is in the id.
X-Api-Key: wpf_YOUR_KEYThe connection's API key (wpf_...), generated in the dashboard.
Authorization: Bearer wpf_YOUR_KEYThe same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).
Idempotency-Key?stringOptional. Repeating the same value within 24 h, with the same API key, returns the first response without sending again. See Idempotency in the introduction.
application/json- body
messageId*stringThe message's message_id (from the send response, or from the webhook). The chat is already in the id.
reaction*stringThe emoji. Empty ("") removes the reaction.
लंबाई
length <= 16Reaction applied.
application/json- response
data*curl -X PUT 'https://app.wappfy.io/api/v1/messages/reaction' \ -H 'X-Api-Key: wpf_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "messageId": "false_5581999999999@c.us_3EB0C767D26A1D5E", "reaction": "👍"}'{ "data": { "message_id": "string", "reaction": "string" }}
