hostdocs API
Programmatic access to your hostdocs pages, sites, collections, and records.
The hostdocs API lets you do everything the MCP server can — publish pages, manage sites, and read or write collection records — over plain HTTP, authenticated with a developer API key.
Base URL
https://api.hostdocs.ioEvery response is wrapped in an envelope:
{ "success": true, "data": { /* ... */ } }On failure, success is false and error carries a message (with the appropriate
HTTP status code).
Next steps
- Authentication — create a key, scopes, and expiry.
- Quickstart — your first request with
curl. - MCP → REST — the REST endpoint behind each MCP tool.
- API reference — the full endpoint list in the sidebar, generated from our OpenAPI spec.