Menu
Documentation
v2.0 API Reference

MolbikAI Developer API

Integrate MolbikAI's generation engine directly into your own products. Build internal tools, automate client deployments, and scale your agency using our REST API.

Authentication

Authenticate your API requests by including your secret API key in the Authorization header of every request. You can manage your API keys in your Developer Dashboard.

cURL - Authentication Example
curl https://api.MolbikAI.io/v2/apps \ -H "Authorization: Bearer sk_live_your_secret_key" \ -H "Content-Type: application/json"

Available Endpoints

The MolbikAI API is built around standard RESTful principles.

/v2/generate

Submit a text prompt to asynchronously generate a new full-stack application.

/v2/webhooks

Configure endpoints to receive notifications when a deployment finishes.

/v2/domains

Programmatically map custom domains to your generated software instances.

Generate App

POST

Trigger a new application generation. This process runs asynchronously. You will receive a job_id in the response, which you can use to poll for status updates or wait for a webhook event.

JSON Request Body
{
  "prompt": "A SaaS dashboard for managing social media posts...",
  "stack": "nextjs-tailwind",
  "auto_deploy": true,
  "webhook_url": "https://your-api.com/webhooks/MolbikAI"
}

Need an Enterprise SLA?

If you are planning to hit the API with high volume (1,000+ generations/month), contact our sales team to discuss dedicated compute clusters.