Create Your First Endpoint
Build your first "Door" to the internet.
An Endpoint is like a doorbell. When someone rings it (by visiting a URL), FluxyAPI runs your logic and gives them an answer.
Building Your First Endpoint
Follow these steps to create your first live API "door":
Select Your Project
Go to your Dashboard and click on the project you just created.
Open the Endpoint Builder
In the sidebar on the left, click "Endpoint Builder". This is your workspace for creating API doors.
Click "Add Endpoint"
You'll see a green button in the top right. Click it!
Configure the "Endpoint Core"
This is the most important block. It's the "Brain" of your endpoint. Fill in these fields:
- Endpoint Path: The "Address" (e.g.,
/hello). If you type/hello, people can visit your API athttps://your-api.com/hello. - Method: How they talk to you. GET is the most common (it's like asking for a page).
- Endpoint Name: A nickname for you to remember what this does (e.g., "My Welcome Message").
Add an Error Handler
Every endpoint needs an Error Handler. This is what happens if something goes wrong. For now, just pick a code like 400 or 500 from the dropdown.
Save and Go Live!
Click "Save Changes" in the top right corner.
It's Live! Your endpoint is now ready. You can find the URL on the Endpoint List page.
Understanding the "Flow"
Right now, your endpoint doesn't "do" anything yet. To add logic, you'll need to connect more blocks between the Core and the Response.
Check out the Understanding the Builder guide to learn how to drag and drop your logic!
