Build a full REST-API with n8n webhooks

What is it? A clean, extensible REST-style API routing template for n8n webhooks with up to 3 path levels.

How does it work? Serves API routes via Webhooks with path variables

Normalizes incoming requests into "global" _REQUEST and _CFG nodes

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

0
Downloads
15
Views
6.81
Quality Score
beginner
Complexity
Author:Christian Knoflach(View Original →)
Created:2/13/2026
Updated:3/14/2026

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments