API Reference
REST API documentation for integrating with Asasify PM
Authentication
API key or OAuth2 authentication
RESTful Endpoints
Full CRUD operations
Rate Limiting
1000 requests per hour
Authentication
All API requests require an API key. Include it in the request header:
Authorization: Bearer YOUR_API_KEY
Projects API
GET
/api/projects/
List all projects
{
"count": 10,
"next": null,
"previous": null,
"results": [
{
"id": "uuid",
"code": "PRJ-2024-001",
"name": "Project Name",
"client": "Client Name",
"status": "active",
"created_at": "2024-01-01T00:00:00Z"
}
]
}
POST
/api/projects/
Create a new project
{
"name": "New Project",
"client": "Client Name",
"start_date": "2024-01-01",
"end_date": "2024-03-31",
"status": "active"
}
PUT
/api/projects/{id}/
Update a project
Budgets API
GET
/api/budgets/
List all budgets
GET
/api/budgets/{id}/lines/
Get budget lines for a budget
Actuals API
GET
/api/actuals/
List all actual transactions
{
"results": [
{
"id": "uuid",
"project": "PRJ-2024-001",
"amount": 50000.00,
"date": "2024-01-15",
"category": "Labor",
"description": "January payroll"
}
]
}
Forecast API
GET
/api/forecast/{project_id}/
Get AI forecast for a project
{
"project": "PRJ-2024-001",
"total_predicted": 150000,
"confidence": 85,
"monthly_predictions": [
{"month": "2024-01", "predicted": 25000},
{"month": "2024-02", "predicted": 30000}
]
}
Rate Limits
| Plan | Rate Limit |
|---|---|
| Free | 100 requests/hour |
| Professional | 1000 requests/hour |
| Enterprise | Custom limits |
Need Help?
Check our detailed API documentation or contact support
AI Assistant
Global Assistant
llama3 · local