ProjectFlow Pre-Launch

Wiki

Wiki-Seiten von Workspace und Projekten, Markdown rein und raus.

Die Referenz wird aus der englischen OpenAPI-Spezifikation erzeugt und ist deshalb auf Englisch.

List or search wiki pages

GET/wiki

Scope readBerechtigung 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-Parameter

  • projectIdstring

    Project wiki instead of the workspace wiki.

  • parentIdstring

    Only direct children of this page.

  • qstring

    Search text (title and body).

  • includeArchivedboolean

    true includes archived pages.

  • limitinteger1 to 200 · Standard: 100

    Page size.

  • cursorstring

    Opaque cursor from the previous response's nextCursor.

Antwort 200

Success.

  • pagesarray of WikiPage
    12 Attribute anzeigen
    • idstringPflicht
    • titlestringPflicht
    • iconstring
    • spacestringPflicht

      Erlaubte Werte: workspace project

    • projectIdstring
    • parentIdstring
    • excerptstring
    • linkedTaskRefsarray of string
    • archivedboolean
    • revisioninteger
    • createdAtstring (date-time)
    • updatedAtstring (date-time)
  • nextCursorstring | null
  • totalinteger

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
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)
Antwort · 200JSON
{
  "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:writeBerechtigung wiki:write

Request-Body application/json

  • titlestringPflichtmax 200 characters
  • markdownstringmax 200000 characters

    Headings, lists, checklists, quotes, code, links, bold/italic.

  • projectIdstring

    Create in this project's wiki (default: workspace wiki).

  • parentIdstring

    Parent page in the same space.

  • iconstring

    Emoji.

  • linkedTaskRefsarray of string

    "projectId/taskId".

Antwort 201

Success.

  • pageWikiPage
    12 Attribute anzeigen
    • idstringPflicht
    • titlestringPflicht
    • iconstring
    • spacestringPflicht

      Erlaubte Werte: workspace project

    • projectIdstring
    • parentIdstring
    • excerptstring
    • linkedTaskRefsarray of string
    • archivedboolean
    • revisioninteger
    • createdAtstring (date-time)
    • updatedAtstring (date-time)

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
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)
Antwort · 201JSON
{
  "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 readBerechtigung wiki:read

Pfadparameter

  • docIdstringPflicht

    Wiki page id.

Antwort 200

Success.

  • pageobject
    13 Attribute anzeigen
    • idstringPflicht
    • titlestringPflicht
    • iconstring
    • spacestringPflicht

      Erlaubte Werte: workspace project

    • projectIdstring
    • parentIdstring
    • excerptstring
    • linkedTaskRefsarray of string
    • archivedboolean
    • revisioninteger
    • createdAtstring (date-time)
    • updatedAtstring (date-time)
    • markdownstring

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
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)
Antwort · 200JSON
{
  "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:writeBerechtigung 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.

Pfadparameter

  • docIdstringPflicht

    Wiki page id.

Request-Body application/json

  • titlestringmax 200 characters
  • markdownstringmax 200000 characters
  • appendboolean
  • archivedboolean

Antwort 200

Success.

  • pageWikiPage
    12 Attribute anzeigen
    • idstringPflicht
    • titlestringPflicht
    • iconstring
    • spacestringPflicht

      Erlaubte Werte: workspace project

    • projectIdstring
    • parentIdstring
    • excerptstring
    • linkedTaskRefsarray of string
    • archivedboolean
    • revisioninteger
    • createdAtstring (date-time)
    • updatedAtstring (date-time)

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
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)
Antwort · 200JSON
{
  "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"
}

↑↓ wählen, Enter öffnen, Esc schließen