Account & Organizations
Organization Users
Collections
Pages
Endpoints
Published Versions
Page Content & Versions
Environments
Webhooks
FAQs
Changelogs
AI Tools
Feedback
URL Mappings (Redirects)
UTM Analytics
Logs
API Tokens
MCP Server
Permissions
Embed
Import & Utilities
Public Docs APIs
Powered by DocStar
  1. API reference
  2. Page Content & Versions

Page Content & Versions

Page bodies are stored as Markdown in DocStar's realtime document service. Use these endpoints to read or replace a page's draft content, browse its editing history, and obtain a collaboration token for live editing.

  • Get Page Content — GET https://api.docstar.io/api/page/:pageId/content
  • Update Page Content — POST https://api.docstar.io/orgs/:orgId/pages/:pageId/ydoc
  • List Content Versions — GET https://api.docstar.io/orgs/:orgId/pages/:pageId/versions
  • Get Content Version HTML — GET https://api.docstar.io/orgs/:orgId/versions/html/:versionId
  • Get Collaboration Token — GET https://api.docstar.io/orgs/:orgId/pages/:pageId/collab-token
GET
Get Page Content
POST
Update Page Content
GET
List Content Versions
GET
Get Content Version HTML
GET
Get Collaboration Token
GET
Get Page Markdown
PATCH
Edit Page Markdown
DDocstar · API documentation

Build with Docstar. Let AI do the rest.

Add it to your AI in one click, or copy the instructions and tell it what you want to build.

Paste into your AI and tell it what you want to build.

·
Published with DocStar