Wiki
Wiki pages of workspace and projects, Markdown in and out.
List or search wiki pages
GET/wiki
Scope readPermission wiki:read
Page entries without bodies, newest first. Without projectId the workspace wiki; with projectId that project's wiki; with q a search over every space the caller reaches. Project-scoped tokens only reach their project.
Query parameters
-
projectIdstringProject wiki instead of the workspace wiki.
-
parentIdstringOnly direct children of this page.
-
qstringSearch text (title and body).
-
includeArchivedbooleantrue includes archived pages.
-
limitintegerPage size.
-
cursorstringOpaque cursor from the previous response's
nextCursor.
Response 200
Success.
-
pagesarray of WikiPageShow 12 attributes
-
idstringrequired -
titlestringrequired -
iconstring -
spacestringrequiredAllowed values:
workspaceproject -
projectIdstring -
parentIdstring -
excerptstring -
linkedTaskRefsarray of string -
archivedboolean -
revisioninteger -
createdAtstring (date-time) -
updatedAtstring (date-time)
-
-
nextCursorstring | null -
totalinteger
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl "https://api.getprojectflow.com/v1/wiki?limit=50" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/wiki?limit=50', {
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
},
});
const data = await res.json();import os
import requests
res = requests.get(
"https://api.getprojectflow.com/v1/wiki?limit=50",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/wiki?limit=50")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"pages": [
{
"id": "wikipage_1",
"title": "Prepare kickoff",
"space": "workspace",
"icon": "rocket",
"projectId": "project_1",
"parentId": "parent_1",
"excerpt": "excerpt",
"linkedTaskRefs": [
"linkedTaskRef"
],
"archived": false,
"revision": 1,
"createdAt": "2026-11-02T09:00:00.000Z",
"updatedAt": "2026-11-02T09:00:00.000Z"
}
],
"nextCursor": null,
"total": 1,
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Create a wiki page from Markdown
POST/wiki
Scope projects:writePermission wiki:write
Request body application/json
-
titlestringrequired -
markdownstringHeadings, lists, checklists, quotes, code, links, bold/italic.
-
projectIdstringCreate in this project's wiki (default: workspace wiki).
-
parentIdstringParent page in the same space.
-
iconstringEmoji.
-
linkedTaskRefsarray of string"projectId/taskId".
Response 201
Success.
-
pageWikiPageShow 12 attributes
-
idstringrequired -
titlestringrequired -
iconstring -
spacestringrequiredAllowed values:
workspaceproject -
projectIdstring -
parentIdstring -
excerptstring -
linkedTaskRefsarray of string -
archivedboolean -
revisioninteger -
createdAtstring (date-time) -
updatedAtstring (date-time)
-
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl -X POST "https://api.getprojectflow.com/v1/wiki" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Prepare kickoff",
"markdown": "# Notes",
"projectId": "project_1",
"parentId": "parent_1",
"icon": "rocket"
}'const res = await fetch('https://api.getprojectflow.com/v1/wiki', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
title: 'Prepare kickoff',
markdown: '# Notes',
projectId: 'project_1',
parentId: 'parent_1',
icon: 'rocket'
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.getprojectflow.com/v1/wiki",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"title": "Prepare kickoff",
"markdown": "# Notes",
"projectId": "project_1",
"parentId": "parent_1",
"icon": "rocket"
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/wiki")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
"title": "Prepare kickoff",
"markdown": "# Notes",
"projectId": "project_1",
"parentId": "parent_1",
"icon": "rocket",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"page": {
"id": "wikipage_1",
"title": "Prepare kickoff",
"space": "workspace",
"icon": "rocket",
"projectId": "project_1",
"parentId": "parent_1",
"excerpt": "excerpt",
"linkedTaskRefs": [
"linkedTaskRef"
],
"archived": false,
"revision": 1,
"createdAt": "2026-11-02T09:00:00.000Z",
"updatedAt": "2026-11-02T09:00:00.000Z"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Get a wiki page as Markdown
GET/wiki/{docId}
Scope readPermission wiki:read
Path parameters
-
docIdstringrequiredWiki page id.
Response 200
Success.
-
pageobjectShow 13 attributes
-
idstringrequired -
titlestringrequired -
iconstring -
spacestringrequiredAllowed values:
workspaceproject -
projectIdstring -
parentIdstring -
excerptstring -
linkedTaskRefsarray of string -
archivedboolean -
revisioninteger -
createdAtstring (date-time) -
updatedAtstring (date-time) -
markdownstring
-
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl "https://api.getprojectflow.com/v1/wiki/DOC_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/wiki/DOC_ID', {
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
},
});
const data = await res.json();import os
import requests
res = requests.get(
"https://api.getprojectflow.com/v1/wiki/DOC_ID",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/wiki/DOC_ID")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"page": {
"id": "page_1",
"title": "Prepare kickoff",
"space": "workspace",
"icon": "rocket",
"projectId": "project_1",
"parentId": "parent_1",
"excerpt": "excerpt",
"linkedTaskRefs": [
"linkedTaskRef"
],
"archived": false,
"revision": 1,
"createdAt": "2026-11-02T09:00:00.000Z",
"updatedAt": "2026-11-02T09:00:00.000Z",
"markdown": "# Notes"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Update a wiki page
PATCH/wiki/{docId}
Scope projects:writePermission wiki:write
markdown replaces the body (or is appended with append: true); the previous body is kept as a page version (reason api). archived archives/restores.
Path parameters
-
docIdstringrequiredWiki page id.
Request body application/json
-
titlestring -
markdownstring -
appendboolean -
archivedboolean
Response 200
Success.
-
pageWikiPageShow 12 attributes
-
idstringrequired -
titlestringrequired -
iconstring -
spacestringrequiredAllowed values:
workspaceproject -
projectIdstring -
parentIdstring -
excerptstring -
linkedTaskRefsarray of string -
archivedboolean -
revisioninteger -
createdAtstring (date-time) -
updatedAtstring (date-time)
-
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl -X PATCH "https://api.getprojectflow.com/v1/wiki/DOC_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Prepare kickoff",
"markdown": "# Notes",
"append": false,
"archived": false
}'const res = await fetch('https://api.getprojectflow.com/v1/wiki/DOC_ID', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
title: 'Prepare kickoff',
markdown: '# Notes',
append: false,
archived: false
}),
});
const data = await res.json();import os
import requests
res = requests.patch(
"https://api.getprojectflow.com/v1/wiki/DOC_ID",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"title": "Prepare kickoff",
"markdown": "# Notes",
"append": False,
"archived": False
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/wiki/DOC_ID")!)
request.httpMethod = "PATCH"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
"title": "Prepare kickoff",
"markdown": "# Notes",
"append": false,
"archived": false,
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"page": {
"id": "wikipage_1",
"title": "Prepare kickoff",
"space": "workspace",
"icon": "rocket",
"projectId": "project_1",
"parentId": "parent_1",
"excerpt": "excerpt",
"linkedTaskRefs": [
"linkedTaskRef"
],
"archived": false,
"revision": 1,
"createdAt": "2026-11-02T09:00:00.000Z",
"updatedAt": "2026-11-02T09:00:00.000Z"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}