Templates / Build a full REST-API with n8n webhooks

Build a full REST-API with n8n webhooks

Ready for 3.0

by Christian Knoflach · 141 views · created 2026-01-18 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (10)

What it does

What is it? A clean, extensible REST-style API routing template for n8n webhooks with up to 3 path levels. How does it work? 1. Serves API routes via Webhooks with path variables 2. Normalizes incoming requests into "global" REQUEST and CFG nodes 3. Flexible routing with Switch-nodes based on path segments & request method Key features - No setup required - Supports multiple HTTP methods - Global config via code node - Separation of concern between config/request and implementation data flow - Easy to extend Use cases - Prototyping backend APIs via JSON-responses - Serving interactive websites via HTML-nodes + TEXT responses

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.