Skip to main content
WEBHOOK
reply.received
{
  "event": "reply.received",
  "campaign_id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
  "external_ref": "PRES-4812",
  "phone": "+5491123456789",
  "message": {
    "id": "wamid.XXXXXXXX",
    "type": "text",
    "text": "Sí, me interesa. ¿Podemos hablar mañana?",
    "timestamp": 1752159000
  },
  "received_at": 1752159001234
}

Authorizations

X-API-Key
string
header
required

API key provista por Xenda (formato xnd_...). Se envía en todas las llamadas.

Body

application/json
event
enum<string>
Available options:
reply.received
campaign_id
string

El mismo ID devuelto por POST /campaigns.

external_ref
string | null

Tu referencia, tal cual la mandaste en el envío.

phone
string
message
object
received_at
integer

Epoch ms de recepción en nuestra plataforma.

Response

200

Recibido. Cualquier otro código dispara reintentos.