Canales de notificación

Tipos soportados

  • webhook — HTTP POST genérico con una firma HMAC-SHA256
  • email — SMTP
  • slack — incoming webhook (sin threading)
  • slack_bot — bot token (con threading por fingerprint)
  • telegram — bot API (threading vía reply_to_message_id)

Webhook signing

X-Unimoni-Signature: <hex(hmac-sha256(secret, timestamp + "." + body))>
X-Unimoni-Timestamp: <unix-seconds>

El receptor debe:

  1. Verificar el timestamp ±5min respecto a su propio reloj
  2. Recalcular el HMAC y comparar en constant-time

Un ejemplo detallado de receiver está en Webhook receiver template.