Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/n8n error handling/WEBHOOK_API_SHAPES
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.

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.