Hook calls stopped routing? Check `sessionKey` after OpenClaw 2026.2.12.
OpenClaw 2026.2.12 changed a small field with big integration consequences: `POST /hooks/agent` rejects payload `sessionKey` overrides by default. That is safer, but any webhook caller that used per-request `sessionKey` routing can start failing, landing in the wrong session, or looking like a generic hook outage after an update. Treat the repair as a routing audit, not a blind rollback: pick a fixed hook context when possible, only re-enable request-level session keys deliberately, then prove the exact inbound path with one known test request.
In simple words: Make a safe copy if the step could change your setup, try the smallest check, then confirm OpenClaw is back to normal before doing more. The source link and commands stay below for people who want the technical detail.
{
"hooks": {
"defaultSessionKey": "hook:ops-inbound",
"allowedSessionKeyPrefixes": ["hook:"],
"allowRequestSessionKey": false
}
}
- OpenClaw version before/after update:
- Caller sending POST /hooks/agent:
- Does caller send payload sessionKey? yes/no
- Fixed defaultSessionKey chosen, if any:
- Request-level routing allowed? why and from whom:
- Test payload ID/time:
- Expected session/route:
- Observed session/route:
- Rollback label or config snapshot:
Source: OpenClaw v2026.2.12 release notes + hooks docs · link