API Builder
The API Builder is the heart of your DYPAI project. It's where you define how your frontend interacts with your data and external services.
You can create everything from simple data access to complex business workflows without writing traditional server-side code.
Key Features
- AI-Powered Creation: Just describe the endpoint you need, and the AI will build the logic for you.
- Visual Canvas: Design your logic by connecting nodes in an intuitive flow-based editor.
- Instant Deployment: Every change you save is live immediately.
- Built-in Testing: Test your endpoints directly in the dashboard before using them in your app.
Ways to Build APIs
1. Build with AI (Fastest)
Using MCP, you can build your entire API layer from your IDE. Simply ask the AI assistant:
- "Create a GET endpoint to search products by name and category."
- "Set up a POST endpoint that registers a user and sends a welcome email."
- "Add a validation step to my checkout endpoint."
2. Visual Canvas (Flow Editor)
For those who like to design visually, our Canvas allows you to build logic by connecting different types of nodes:
- Triggers: Define the URL and HTTP method (GET, POST, etc.).
- Database: Query, insert, or update your tables.
- Logic: Add conditions, loops, and data transformations.
- Integrations: Connect to WhatsApp, Stripe, or custom webhooks.
Testing & Debugging
Every endpoint has a dedicated Test tab. You can:
- Send sample requests with custom headers and body.
- See real-time responses and execution logs.
- Inspect how data flows through each node in your canvas.