Evento de Messenger

Resender hace POST a la Webhook URL configurada en la conexión (debe ser HTTPS) por cada mensaje o postback recibido en la página. Las confirmaciones de lectura y entrega no generan eventos.

Entrega y reintentos: un 2xx cierra la entrega (el cuerpo se ignora). 408, 429, 5xx, timeout (5 s) y errores de red se reintentan hasta cinco veces con esperas de 5 s, 30 s, 120 s, 300 s y 900 s. Cualquier otro 4xx es definitivo y no se reintenta.

Deduplicá por resender-event-id: es estable por evento.

Header Parameters

resender-event-id?string

Id determinista del evento. El mismo evento reingerido trae el mismo id; usalo para deduplicar.

Match^evt_[0-9a-f]{32}$
resender-timestamp?string

Epoch en segundos del momento de la firma.

Match^[0-9]+$
resender-signature?string

v1= + HMAC-SHA256 hex. Ver WebhookSignature.

Match^v1=[0-9a-f]{64}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Example Requests

POST/messengerEvents