API Reference
JGNEXT API
Erstelle Integrationen und automatisiere deinen Workflow mit unserer RESTful API.
Authentication
Alle API-Anfragen erfordern eine Authentifizierung mit einem Bearer-Token. FĂŒge deinen API-SchlĂŒssel in den Authorization-Header ein:
Authorization: Bearer YOUR_API_KEYDu findest deinen API-SchlĂŒssel in deinem Dashboard unter Einstellungen â API Keys.
Base URL
https://api.jgnext.comEndpoints
POST
/api/v1/ai/builderGenerate code from a natural language prompt
curl -X POST https://api.jgnext.com/api/v1/ai/builder \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Create a todo app with React"}'GET
/api/builder/sessionsList all builder sessions for the authenticated user
curl https://api.jgnext.com/api/builder/sessions \ -H "Authorization: Bearer YOUR_API_KEY"
POST
/api/builder/sessionCreate a new builder session
curl -X POST https://api.jgnext.com/api/builder/session \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "My New Project"}'GET
/api/credits/balanceGet current credit balance for the authenticated user
curl https://api.jgnext.com/api/credits/balance \ -H "Authorization: Bearer YOUR_API_KEY"
POST
/api/builder/deployDeploy a project to production
curl -X POST https://api.jgnext.com/api/builder/deploy \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sessionId": "abc123", "platform": "vercel"}'Rate Limits
- âą Starter: 60 Anfragen/Minute
- âą Professional: 60 Anfragen/Minute
- âą Enterprise: 1000 requests/minute