Probar un destino webhook

Usalo para comprobar que tu webhook de alertas responde: envía un payload de prueba y te devuelve el estado y la latencia.

POST
/alerts/destinations/{id}/test

Escritura · requiere el permiso accounts:write.

  • Owner-scoped: returns 404 for both non-existent and other-owner destinations to prevent resource-existence enumeration.
  • Only webhook-type destinations are allowed.
  • SSRF guard is applied inside WebhookTestService before any HTTP call.

Autorización

http
headerAuthorizationBearer <clave>

Parámetros de la ruta

id*integer

Cuerpo de la respuesta

application/json
  1. response
status*integer|null
ok*boolean
latency*integer
curl -X POST "https://example.com/alerts/destinations/0/test"
{  "status": 0,  "ok": true,  "latency": 0}