Reference · n8n error handling
WEBHOOK_API_SHAPES
Part of n8n error handling. Install the skill and your agent reads this page when it needs the depth.
Webhook response shapes
// 400 caller error
{ "ok": false, "error": { "code": "invalid_payload", "message": "..." } }
// 500 internal
{ "ok": false, "error": { "code": "internal_error", "message": "retry later" } }
// 200 async accepted
{ "ok": true, "accepted": true, "id": "..." }
Use Respond to Webhook with explicit status code.