Skip to main content
Tenant admins register HTTPS endpoints. The platform POSTs JSON when forecasts or realized prices are published. Redirects are not followed.

Events

A new forecast run is stored.
The new run differs from the previous one by at least the configured deviation threshold.
Clean OMIE prices for a product and delivery day are stored.
Manual test from POST /webhooks/{id}/test. Always available.

Register an endpoint

The response includes secret (prefix whsec_). It is not retrievable later. Rotate with POST /api/v1/webhooks/{id}/rotate-secret.
Production URLs must be HTTPS and must not point at localhost, link-local, or private IPs.

Envelope

Every delivery body looks like:
data includes forecast_id, market_id, market_product_id, product, issued_at, model_version_id, unit, and points (time, value, p10, p90).

Verify signatures

Headers on every delivery:
  • Nex-Webhook-Id — delivery id (idempotency key)
  • Nex-Webhook-Event — event type
  • Nex-Webhook-Signature — t=<unix>,v1=<hex>
v1 is HMAC-SHA256(secret, "<t>.<raw body>") over the raw JSON bytes. Respond with 2xx so the platform marks the delivery succeeded.