{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "api-post-api-hooks-workflowid",
  "title": "POST /api/hooks/:workflowId",
  "section": "HTTP endpoint reference",
  "description": "POST /api/hooks/:workflowId",
  "kind": "api",
  "url": "/wiki/api-post-api-hooks-workflowid/",
  "markdown": "/wiki/api-post-api-hooks-workflowid/index.md",
  "json": "/wiki/api-post-api-hooks-workflowid/index.json",
  "headings": [
    {
      "id": "contract",
      "title": "Contract",
      "depth": 2
    },
    {
      "id": "request",
      "title": "Request",
      "depth": 2
    },
    {
      "id": "response",
      "title": "Response",
      "depth": 2
    },
    {
      "id": "guard",
      "title": "Guard",
      "depth": 2
    },
    {
      "id": "use-this-endpoint",
      "title": "Use this endpoint",
      "depth": 2
    }
  ],
  "sources": [
    "server/index.ts"
  ],
  "contract": {
    "method": "POST",
    "path": "/api/hooks/:workflowId",
    "description": "POST /api/hooks/:workflowId",
    "request": {
      "path": [],
      "query": [],
      "body": []
    },
    "response": {
      "statuses": [],
      "fields": []
    },
    "source": {
      "file": "server/index.ts",
      "line": 807
    },
    "contract": "JSON trigger body; existing webhook header — Targets one enabled webhook root; workflow master required. Same-entry overlap409; distinct entries independent",
    "guard": "Network Host/Origin boundary plus the workflow-specific X-ONF-Webhook-Key; enabled/paused/busy entry state is checked before admission."
  }
}
