Simple API Endpoint Workflow: Create GET-Based API Responses in n8n

Billy ChristiBilly Christi
1 min read

What This Template Is About
The Simple API Endpoint Workflow is a ready-to-use n8n template that allows you to create a basic API endpoint using only a few nodes. It's perfect for situations where you need to return custom data when someone accesses a specific URL using a GET request. Whether you're testing integrations, setting up a lightweight API, or building a mock endpoint, this workflow provides a simple and effective solution.

How the Workflow Works
The workflow starts with a Webhook Trigger (GET) node, which listens for incoming GET requests. When the URL is accessed, the flow continues to a Set node, where you define the response data — this can be plain text, JSON, or any other format. Finally, the Respond to Webhook node sends this response back to the requester. With just these three nodes, you can quickly deploy and customize your own API behavior within minutes.

Workflow JSON
https://drive.google.com/file/d/1A9oKTsjGoJiGavD2UYf_NZztfhFBurlK/view?usp=drive_link

0
Subscribe to my newsletter

Read articles from Billy Christi directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Billy Christi
Billy Christi