Send reaction
React to a message with an emoji.
React with an emoji to acknowledge a message without sending a full reply — quick confirmation that you saw it.
At a glance
| Item | Detail |
|---|---|
type |
reaction |
| Channel support | Official and unofficial |
content.message_id |
Provider message ID from webhook or GET message |
content.from_me |
Optional; defaults to true |
content.participant |
Required in some group or multi-device contexts |
Request body
| Field | Required | Description |
|---|---|---|
channel_id |
Yes | Sender channel ID |
to |
Yes | Recipient phone number |
type |
Yes | reaction |
content.message_id |
Yes | Target message ID |
content.reaction |
Yes | Emoji (empty string removes reaction on some providers) |
Example
curl -X POST "https://api.wazapin.com/v1/messages" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"channel_id": "wzp_abc123",
"to": "6281234567890",
"type": "reaction",
"content": {
"message_id": "wamid.HBgL...",
"reaction": "👍"
}
}'import { WazapinClient } from "@wazapin/sdk";
const wazapin = new WazapinClient({ apiKey: process.env.WAZAPIN_API_KEY! });
await wazapin.messages.react({
channel_id: "wzp_abc123",
message_id: "wamid.HBgL...",
to: "6281234567890",
reaction: "👍",
});import requests
requests.post(
"https://api.wazapin.com/v1/messages",
headers={"X-Api-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
json={
"channel_id": "wzp_abc123",
"to": "6281234567890",
"type": "reaction",
"content": {"message_id": "wamid.HBgL...", "reaction": "👍"},
},
timeout=30,
).raise_for_status()