{
"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
}API Reference
Respuesta de un cliente
Cuando un cliente responde a un template enviado por esta API, hacemos
POST a tu URL configurada. Verificá el header X-Xenda-Webhook-Secret
contra el secret compartido y respondé 200 en menos de 10 segundos.
Si tu endpoint falla, reintentamos con backoff durante ~3 horas.
La respuesta se atribuye al último envío hecho a ese número dentro
de una ventana de 7 días — usá external_ref (un envío por
presupuesto/operación) para mapearla de tu lado.
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
API key provista por Xenda (formato xnd_...). Se envía en todas las llamadas.
Body
application/json
Response
200
Recibido. Cualquier otro código dispara reintentos.

