Skip to main content
POST
/
api
/
v2
/
message
Mensaje de reacción
curl --request POST \
  --url https://whatsapp.heybot.cloud/api/v2/message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "to": "<string>",
  "type": "<string>",
  "reaction": {
    "message_id": "<string>",
    "emoji": "<string>"
  }
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.heybot.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Los mensajes de reacción son reacciones con emoji que puedes aplicar a los mensajes previos que recibes de usuarios de WhatsApp.

Limitaciones

La secuencia de caracteres de escape Unicode del emoji, o el mismo emoji, para aplicar al mensaje del usuario.
to
string
required
The recipient’s phone number or WhatsApp ID.
type
string
default:"reaction"
required
The overall type of message being sent.
reaction
object
required
The reaction payload configuration.

Ejemplo

{
  "to": 5219876543210,
  "type": "reaction",
  "reaction": {
    "message_id": "<WHATSAPP_MESSAGE_ID>",
    "emoji": "<EMOJI>"
  }
}