Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/HTTP endpoint reference

POST /api/hooks/:workflowId

POST /api/hooks/:workflowId

23 Oct 2026 · 1 min read
Markdown ↗JSON ↗

POST /api/hooks/:workflowId

http
POST /api/hooks/:workflowId

Contract#

JSON trigger body; existing webhook header — Targets one enabled webhook root; workflow master required. Same-entry overlap409; distinct entries independent

Request#

json
{
  "path": [],
  "query": [],
  "body": []
}

Response#

json
{
  "statuses": [],
  "fields": []
}

Guard#

Network Host/Origin boundary plus the workflow-specific X-ONF-Webhook-Key; enabled/paused/busy entry state is checked before admission.

Use this endpoint#

The base URL is your own ONF host, for example http://localhost:4310. Read HTTP API usage for request bodies, revision guards, accepted-run behavior and errors.

A source-registered route is not a promise that every real provider or every input combination has been tested. Use agent safety when an operation can run code or change external systems.

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • server/index.ts
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗