Public REST API
Projects API
Workspaces projects, stages, tasks, tags, and priorities via the Public REST API.
Projects API
Base: https://<APP_HOST>/api/public/v1/projects
Requires Authorization: Bearer wn_… and X-Workspace-Id.
| Method | Path | Scopes |
|---|---|---|
GET | / | projects:read |
POST | / | projects:write |
GET | /:id | projects:read |
PATCH / PUT | /:id | projects:write |
DELETE | /:id | projects:delete |
GET / POST | /:id/stages | projects:read / projects:write |
POST | /:projectId/stages/:stageId/tasks | projects:write |
PATCH | /:projectId/tasks/:noteId | projects:write |
GET / POST | /tags | tags:read / tags:write |
List projects
curl "https://<APP_HOST>/api/public/v1/projects?limit=20&search=launch&status=active" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>"Useful query filters: search, status, methodology, visibility, tags, cursor, limit, include.
Create project
curl -X POST "https://<APP_HOST>/api/public/v1/projects" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>" \
-H "Content-Type: application/json" \
-d '{
"title": "Website relaunch",
"methodology": "kanban",
"visibility": "workspace",
"status": "active",
"stages": [
{ "name": "Backlog", "position": 0 },
{ "name": "In progress", "position": 1 },
{ "name": "Done", "position": 2, "is_done": true }
]
}'| Field | Type | Required |
|---|---|---|
title | string | yes |
methodology | string | no |
visibility | string | no |
status | string | no |
stages | object[] | no |
parent_project_id | string | no |
properties | object | no |
Get project
curl "https://<APP_HOST>/api/public/v1/projects/proj_01...?include=stages,collaborators" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>"include may include collaborators, notes, subprojects, stages.
Update project
curl -X PATCH "https://<APP_HOST>/api/public/v1/projects/proj_01..." \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>" \
-H "Content-Type: application/json" \
-d '{ "title": "Website relaunch v2", "status": "active" }'Stages
curl -X POST "https://<APP_HOST>/api/public/v1/projects/proj_01.../stages" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>" \
-H "Content-Type: application/json" \
-d '{ "name": "Review", "color": "#6366f1", "position": 2 }'Create task in a stage
Tasks are note-backed cards on the board:
curl -X POST "https://<APP_HOST>/api/public/v1/projects/proj_01.../stages/stg_01.../tasks" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>" \
-H "Content-Type: application/json" \
-d '{
"title": "Ship docs overhaul",
"markdown": "Rewrite public docs for API + MCP."
}'Patch task
curl -X PATCH "https://<APP_HOST>/api/public/v1/projects/proj_01.../tasks/note_01..." \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>" \
-H "Content-Type: application/json" \
-d '{ "title": "Ship docs overhaul (done)", "status": "done" }'Tags
curl -X POST "https://<APP_HOST>/api/public/v1/projects/tags" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>" \
-H "Content-Type: application/json" \
-d '{ "name": "priority", "color": "#ef4444" }'Soft delete / restore
curl -X DELETE "https://<APP_HOST>/api/public/v1/projects/proj_01..." \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>"
curl -X POST "https://<APP_HOST>/api/public/v1/projects/proj_01.../restore" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>"