API Documentation
Everything you need to integrate with the DevStack API.
Authentication
All API requests require authentication via Bearer token. Include your API key in the Authorization header of every request.
curl -X GET https://api.devstack.io/v1/projects \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"You can generate API keys from your dashboard under Settings → API Keys.
Projects
Manage your DevStack projects programmatically.
/v1/projectsReturns a list of all projects in your workspace.
// Response
{
"data": [
{
"id": "proj_abc123",
"name": "My App",
"status": "active",
"created_at": "2026-01-15T10:30:00Z"
}
],
"total": 1
}/v1/projectsCreate a new project.
Deployments
Trigger, monitor, and roll back deployments via the API.
/v1/projects/:id/deployTrigger a new deployment for the specified project.
/v1/deployments/:idRoll back a specific deployment.
Analytics
Retrieve analytics data for your projects.
/v1/analytics/:project_idWebhooks
Configure webhooks to receive real-time notifications about events.
/v1/webhooksError Codes
DevStack uses standard HTTP status codes. Common errors include 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Rate Limited, and 500 Internal Server Error.