Endpoint
Request
curl https://api.planiso.com/v1/project \
-X GET \
-H "Authorization: Bearer {API_KEY}" \
Response
{
"code": 200,
"message": "",
"data": [
{
"no": "1",
"aff_number": "PROJ-001",
"custom_no": "PR-0001",
"name": "Sports Center Construction",
"location": "Montreal",
"start_date": "2024-01-10",
"end_date": "2024-12-15",
"active": true
},
{
"no": "2",
"aff_number": "PROJ-002",
"custom_no": "PR-0002",
"name": "High School Renovation",
"location": "Quebec",
"start_date": "2024-02-01",
"end_date": "2024-06-30",
"active": true
},
{
"no": "3",
"aff_number": "PROJ-003",
"custom_no": "PR-0003",
"name": "Residential Area Development",
"location": "Laval",
"start_date": "2024-03-15",
"end_date": null,
"active": true
},
{
"no": "4",
"aff_number": "PROJ-004",
"custom_no": null,
"name": "Highway Bridge Rehabilitation",
"location": "Trois-Rivieres",
"start_date": "2024-04-01",
"end_date": "2024-09-01",
"active": true
},
{
"no": "5",
"aff_number": "PROJ-005",
"custom_no": null,
"name": "Urban Park Development",
"location": "Sherbrooke",
"start_date": "2024-05-20",
"end_date": "2024-11-30",
"active": true
}
]
}
Specific error responses
401 Unauthorized No valid API key provided
403 Forbidden The API key doesn't have the required permissions
500 Internal Server Error An internal server error occurred