API reference
//
Get project by ID
🔐 Required role:
API_ADMIN📖 Data dictionary: Project
Retrieve a specific project by its unique identifier
The project is returned in a project array that holds at most one row, with the same row shape as the project list and search operations: dates, status, fee structure, client, project owner, partner and service lines.
An id that matches no project returns 200 with "project": []; this operation never returns 404. A non-numeric id returns 400.
Response Example:
{
"project": [
{
"id": 1703,
"name": "Tax: General Tax Consulting",
"startDate": null,
"endDate": null,
"dueDate": null,
"targetStartDate": "2026-10-08",
"targetedStartDate": "2026-10-08",
"targetEndDate": "2026-10-31",
"targetedEndDate": "2026-10-31",
"feeStructureId": null,
"pmsRef": "AIWYN_1703",
"isCreatedByAiwyn": true,
"managerStaffId": null,
"partnerStaffId": null,
"serviceId": null,
"serviceDescription": "Tax: General Tax Consulting",
"extendedServiceDescription": null,
"status": "DRAFT",
"createdAt": "2026-10-08T15:17:05.651201+00:00",
"updatedAt": "2026-10-08T15:17:05.685193+00:00",
"customFieldValues": null,
"sysRefs": {},
"feeStructureV4": null,
"client": { "id": 281, "name": "Ettore Test Over", "clientRef": "9001726" },
"projectOwner": null,
"partnerStaff": null,
"jobServiceLines": []
}
]
}Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
- Sandbox (requires Cloudflare Access headers)https://api.sandbox.aiwyn.app/gql/v1/project/{id}
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/gql/v1/project/{id}
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/gql/v1/project/{id}
curl -i -X GET \
https://api.sandbox.aiwyn.app/gql/v1/project/1703 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
-H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'Response
{ "project": [] }