PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Mensagem → Enviar Reação

AI-generated

Summary

Send or remove a reaction emoji to a specific WhatsApp message identified by its message ID.

Inputs

  • ID da Instância (required) — ID da instância WhatsApp to specify which WhatsApp session to use.
  • Número/JID (required) — Recipient's phone number with country code or group JID to specify where the message was sent.
  • ID da Mensagem (required) — ID of the message to which the reaction will be added or removed.
  • Emoji (required) — Emoji character to use as the reaction. Provide an empty value to remove the reaction.

Output shape

a single JSON object representing the API response confirming the reaction has been sent or removed.

The operation returns the API response from the WhatsApp instance indicating success or failure. Ensure the instance ID, JID, and message ID correspond to existing entities in the WhatsApp session.

Examples

Example 1: Send a thumbs-up emoji reaction to a message.

Provide the instance ID, recipient number or group JID, target message ID, and the emoji (e.g., 👍).

Example 2: Remove a reaction from a message.

Provide the instance ID, recipient number or group JID, target message ID, and leave the emoji field empty to remove any existing reaction.

Discussion