The Projects API enables you to create and manage projects for your clients. Each project can be categorized by type (AgriTech, design, consulting) and tracks requirements, status, and client association.
List Projects
curl -X GET "https://bknd.fata.plus/api/projects" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"
Retrieves all projects for the authenticated tenant.
Endpoint : GET /api/projects
Query Parameters
Filter projects by client ID
Filter by project status: pending, active, or completed
Filter by category: agri-tech, design, or consulting
Response
Array of project objects Unique project identifier
ID of the client who owns this project
Detailed project description
Current status: pending, active, or completed
Project category: agri-tech, design, or consulting
Project requirements and specifications in JSON format
Project creation timestamp
{
"data" : [
{
"id" : "proj_abc123" ,
"client_id" : "client_xyz789" ,
"title" : "Smart Irrigation System" ,
"description" : "IoT-based irrigation management for rice farms" ,
"status" : "active" ,
"category" : "agri-tech" ,
"requirements" : {
"farm_size" : "5 hectares" ,
"crop_type" : "rice" ,
"sensors" : [ "soil_moisture" , "weather" ]
},
"created_at" : "2026-03-01T10:30:00Z" ,
"updated_at" : "2026-03-02T14:20:00Z"
}
]
}
Create Project
curl -X POST "https://bknd.fata.plus/api/projects" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"client_id": "client_xyz789",
"title": "Smart Irrigation System",
"description": "IoT-based irrigation management",
"status": "pending",
"category": "agri-tech",
"requirements": {
"farm_size": "5 hectares",
"crop_type": "rice"
}
}'
Creates a new project for a client.
Endpoint : POST /api/projects
Request Body
ID of the client who owns this project
Detailed project description
Initial status: pending, active, or completed
Project category: agri-tech, design, or consulting
Project requirements and specifications in JSON format
Response
The created project object with all fields including generated id, created_at, and updated_at
{
"data" : {
"id" : "proj_abc123" ,
"client_id" : "client_xyz789" ,
"title" : "Smart Irrigation System" ,
"description" : "IoT-based irrigation management" ,
"status" : "pending" ,
"category" : "agri-tech" ,
"requirements" : {
"farm_size" : "5 hectares" ,
"crop_type" : "rice"
},
"created_at" : "2026-03-03T09:15:00Z" ,
"updated_at" : "2026-03-03T09:15:00Z"
}
}
Permissions
Project access is controlled by role-based permissions:
Read : admin, client - Both admins and clients can view projects
Write : admin, client - Both admins and clients can create and update projects
Clients can only access their own projects through tenant isolation.