create_subscription
Subscribe to a node (ip, domain, asn, or entity slug). On a recurring
sweep (~20 min) TunnelMind re-runs the fused POST /v1/verify verdict and,
when the material result changes — the verdict label flips, the trust
score crosses a band, or the signal set changes — POSTs a signed event to
your callback_url.
Webhook authenticity: every delivery carries an X-TunnelMind-Signature: sha256=<hex> header, an HMAC-SHA256 over the raw request body keyed by the
signing_key returned ONCE at creation. Recompute and compare to trust it.
Delivery body: { subscription_id, node, event: "verdict_change", previous, current, delivered_ms } where previous/current are compact
verdict summaries { verdict, trust_score, signals }.
Inputs (JSON body):
node(required): the node to watch.callback_url(required): an https URL to receive deliveries.events(optional): reserved; defaults to["verdict_change"].
Requires an API key. The baseline verdict is captured at creation, so the first webhook fires on the first genuine change, not the initial state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| events | No | ||
| callback_url | Yes |