List projects
Lists the tenant's projects, paginated: active ones by default, or the archived ones with `status=archived`. Each project carries its site managers and its activity figures (who is on site now, diary counts, last activity).
Lists the tenant's projects, paginated: active ones by default, or the archived ones with status=archived. Each project carries its site managers and its activity figures (who is on site now, diary counts, last activity).
The per-tenant API key, copied from Settings → API & integrations.
Sent as the x-api-key request header. The key is tenant-scoped and acts
with Admin-equivalent, tenant-wide access.
In: header
Query Parameters
Which projects to list. Defaults to active.
Page size, 1–200. Defaults to 50.
Opaque cursor from a previous page's nextCursor. Omit for the first page.
Response Body
application/json
application/json
curl -X GET "https://example.com/projects"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "inductionTemplateId": "4ad34ac9-8acb-4469-a035-f95572a608d5", "name": "string", "address": "string", "latitude": 0, "longitude": 0, "timezone": "string", "standardHours": "string", "ownerContact": "string", "gateCodes": "string", "description": "string", "status": "active", "inductionToken": "string", "inductionUrl": "http://example.com", "createdAt": "2019-08-24T14:15:22Z", "siteManagers": [ { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string" } ], "onSiteNow": 0, "diaryCount": 0, "diariesLast7Days": 0, "inductionCount": 0, "inductionsLast7Days": 0, "lastActivityOn": "2019-08-24" } ], "nextCursor": "string"}{ "error": { "code": "unauthorized", "message": "Missing or invalid API key." }}Get a project GET
Reads one project with its team roster and assignable members.
Set or clear a project's Site Manager POST
Sets or clears the per-project Site Manager flag for an assigned **Site Crew** member. The caller must be an Admin or the project's existing Site Manager, and the user must already be on the roster. The target's account role must be Site Crew: an admin already manages every project, so the flag is meaningless for them and setting it is rejected with `422`.