Integration docs
Headless API
Use Rootscript's authenticated public blog API to render posts, clusters, and sitemaps in any frontend.
Framework client package
Package: @ardyla/rootscript-core
Latest version referenced: 0.4.0
Framework-agnostic Rootscript blog client and helpers
Setup
- 1Create a site API key in Rootscript.
- 2Call the public blog API with the API key in the Authorization header.
- 3Render posts, clusters, and article pages inside your own application.
- 4Proxy or serve the sitemap endpoint from your own verified domain when using Search Console automation.
Notes
- The API includes endpoints for posts, individual posts, clusters, cluster detail, and sitemap XML.
- Responses are designed for server-side rendering or framework-level caching in your own app.
- Keep site API keys server-side and out of browser bundles.