Alustan dokumentaatio

Wiki pages API

Wiki pages API

Endpoints

  • GET /wiki/pages, list pages

  • GET /wiki/pages/{pageId}, get page

  • POST /wiki/pages, create page

  • PATCH /wiki/pages/{pageId}, update page

Scopes

wiki:read for GET; wiki:write for POST and PATCH.

List pages (GET /wiki/pages)

  • limit, offset, pagination

  • folderId, filter by wiki folder UUID

  • search, match title or description (does not search page body content)

  • includeArchived, when false (default), archived pages are excluded

curl "https://api.elevale.app/v1/workspaces/{workspaceId}/wiki/pages?limit=10" \
  -H "Authorization: Bearer elv_pat_..."

Get page (GET /wiki/pages/{pageId})

  • Without include, metadata only (title, slug, folder_id, status, etc.)

  • include=content, adds content: { contentHtml, version, updatedAt } from the current wiki_page_content row

curl "https://api.elevale.app/v1/workspaces/{workspaceId}/wiki/pages/{pageId}?include=content" \
  -H "Authorization: Bearer elv_pat_..."

Create body (POST)

  • title (required)

  • folderId (required), workspace wiki folder UUID

  • contentMarkdown (optional), page body in Markdown

  • description, status (draft|review|live), emoji (optional)

curl -X POST "https://api.elevale.app/v1/workspaces/{workspaceId}/wiki/pages" \
  -H "Authorization: Bearer elv_pat_..." \
  -H "Content-Type: application/json" \
  -d '{"title":"API onboarding","folderId":"...","contentMarkdown":"# Overview\n\nSteps for new integrations."}'

Update body (PATCH)

  • pageId in path; body may include title, description, contentMarkdown, status

Related

Personal access tokens (PATs) · Scopes and permissions