Hookestdocs Postman OpenAPI llms.txt

PUT/v1/webhooks0 kredi

Webhook set

İsteğe bağlı. Asıl yol Hookest site API sayfası. Tarayıcı yoksa bu uç. İlk create secret’ı bir kez döner (whsec_…). Sonraki PUT URL’yi günceller, secret’ı çevirmez.

Yalnız https. Loopback / private / link-local reddedilir. Teslimat redirect takip etmez.

Teslimat

POST {url}
X-Hookest-Signature: t={unix},v1={hex}
X-Hookest-Event: prediction.succeeded | prediction.failed
Content-Type: application/json

v1 hesap secret’ı ile {t}.{body} HMAC-SHA256. body get prediction ile aynı JSON.

Başarısız teslimat 10s → 1dk → 5dk → 30dk → 2sa, sonra durur. Bu bir anahtar iznidir, istek başlığı değil. Yoksa 403 api_not_enabled.

İstek parametreleri

AdYerTipZorunluAçıklama
url body string Zorunlu Public HTTPS. Localhost veya private IP yok.

Yanıt

{
  "object": "webhook",
  "url": "https://customer.example/hookest",
  "configured": true,
  "secret": "whsec_…"
}

Yanıt alanları

AdTipZorunluAçıklama
object string Zorunlu Her zaman webhook.
url string Null olabilir Kayıtlı HTTPS URL, yoksa null.
configured boolean Zorunlu Yalnızca aktif HTTPS URL varken true.
secret string İsteğe bağlı Ham whsec_…. Yalnız ilk create. Sonraki PUT’lar bu anahtarı atlar.