Getting Started
DocStar API lets you do everything you can do in the DocStar UI: manage organizations and members, collections, pages, API endpoint docs, published versions, environments, webhooks, FAQs, changelogs, redirects, AI helpers and the collection MCP server. Base URL: https://api.docstar.io (account/organization APIs use https://routes.msg91.com/api/c). Authentication: send header proxy_auth_token: <your token> on every call (or Authorization: Bearer hm_<api token> for api.docstar.io routes). Public /p/* routes need no auth. Typical flow: List Collections (get collectionId) -> List Collection Pages (get pageId / root page id) -> create or update pages and endpoints -> publish with Change Page State (state 2). orgId is your organization (company) id from Get Org Details / Get Companies. Deleted collections and pages are soft-deleted for 30 days and can be restored.