fix(hooks): return 200 instead of 202 for webhook responses (#28204)

* fix(hooks): return 200 instead of 202 for webhook responses (#22036)

* docs(webhook): document 200 status for hooks agent

* chore(changelog): add webhook ack note openclaw#28204 thanks @Glucksberg

---------

Co-authored-by: Shakker <shakkerdroid@gmail.com>
This commit is contained in:
Glucksberg
2026-03-02 20:19:31 -04:00
committed by GitHub
parent dee7cda1ec
commit 051b380d38
4 changed files with 29 additions and 14 deletions

View File

@@ -159,7 +159,7 @@ Mapping options (summary):
## Responses
- `200` for `/hooks/wake`
- `202` for `/hooks/agent` (async run started)
- `200` for `/hooks/agent` (async run accepted)
- `401` on auth failure
- `429` after repeated auth failures from the same client (check `Retry-After`)
- `400` on invalid payload