Skip to main content

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.

En esta referencia, se describen los eventos de activación y el contenido de la carga útil del webhook messages de la cuenta de WhatsApp Business para las respuestas a mensajes interactivos.

Cuando ocurre

  • Un usuario de WhatsApp toca una fila de un mensaje de lista interactivo.
  • Un usuario de WhatsApp toca un botón en un mensaje con botón de respuesta interactiva.

Ejemplos

Respuesta a mensaje de lista interactivo.
{
  "id": "wamid.HBgLMTY1MDM4Nzk0MzkVAgASGBQzQUQ0N0VFMDA2MTQ0RkJFNkNDNAA=",
  "timestamp": 1750275992,
  "channel": "whatsapp",
  "event": "message",
  "type": "interactive",
  "interactive": {
    "type": "list_reply",
    "list_reply": {
        "id": "<ROW_ID>",
        "title": "<ROW_TITLE>",
        "description": "<ROW_DESCRIPTION>"
    }
  },
  "from": {
    "id": "16505551234",
    "display_name": "Sheena Nelson",
    "phone_number": "16505551234",
    "username": null
  },
  "to": {
    "phone_number": "15550783881",
    "phone_number_id": "106540352242922"
  }
}
Respuesta a mensaje interactivo
{
  "id": "wamid.HBgLMTY1MDM4Nzk0MzkVAgASGBQzQUQ0N0VFMDA2MTQ0RkJFNkNDNAA=",
  "timestamp": 1750275992,
  "channel": "whatsapp",
  "event": "message",
  "type": "interactive",
  "interactive": {
    "type": "button_reply",
    "button_reply": {
        "id": "change",
        "title": "Change"
    }
  },
  "from": {
    "id": "16505551234",
    "display_name": "Sheena Nelson",
    "phone_number": "16505551234",
    "username": null
  },
  "to": {
    "phone_number": "15550783881",
    "phone_number_id": "106540352242922"
  }
}