API Reference
Explore the full range of Nelgyfika APIs for building, deploying, and managing modern web applications.
Authentication
API requests require an authentication token. Obtain your token through our secure OAuth flow.
Request Headers
Authorization: Bearer YOUR_API_TOKEN
Replace YOUR_API_TOKEN with your personal access token.
Core APIs
Use these APIs to interact with our platform's core functionalities.
Project Management
Create and manage your projects programmatically.
Create Project
POST /api/v1/projects
{
"name": "My New App",
"framework": "react",
"region": "us-west-1"
}
List Projects
GET /api/v1/projects
Delete Project
DELETE /api/v1/projects/{id}
Deployment
Deploy and manage application deployments.
Trigger Deployment
POST /api/v1/deployments
{
"project_id": "12345",
"environment": "staging"
}
Check Deployment Status
GET /api/v1/deployments/{id}
Advanced Features
These APIs provide additional functionality for power users.
Custom Domains
Configure and manage custom domain settings for your applications.
PUT /api/v1/domains
{
"project_id": "12345",
"custom_domain": "myapp.com"
}
API Monitoring
Monitor the health and performance of your API endpoints.
GET /api/v1/monitoring
{
"interval": "15m",
"threshold": "95"
}
API Configuration
Configure your API environment with our flexible options.
// api.config.js
export default {
// Base URL for API requests
baseUrl: 'https://api.nelgyfika.com/v1',
// Default timeout in milliseconds
timeout: 5000,
// API key for authentication
apiKey: process.env.NELGYFIKA_API_KEY
}