mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user