- Embedding the Simple AI help center on your website
- Fetching published help center configuration and article data over HTTP
- Deep-linking into specific articles
Publish Requirements
The public endpoints only return content when:- The help center is published
- The article is published
Embed the Help Center
Add the hosted script to your site and pass your help center token:Optional Script Attributes
data-target="#selector": Render into a specific element instead of appending tobodydata-api-base="https://...": Override the API base URL, mainly for development environments
Render Into a Specific Container
Embed Behavior
The hosted help center embed:- Loads the published help center config and article tree
- Supports article search when search is enabled
- Opens articles by slug
- Syncs the selected section into the browser URL as
?hc_section={slug} - Syncs the selected article into the browser URL as
?hc_article={slug} - Uses Shadow DOM so embedded styles stay isolated from the host page
Public API Base
All public help center endpoints are rooted at:Get a Published Help Center
Fetch the published help center configuration, section tree, and uncategorized article list.Response Shape
Get a Published Article
Fetch a single published article by slug.JSON Response
Request Article HTML Directly
If you only need the rendered article body, request HTML output instead of JSON:Search Published Articles
Search published articles in a published help center.Query Parameters
qrequired: Search query stringlimitoptional: Number of results to return, from1to50
Search Response
Common Implementation Notes
- Public article routes are slug-based, so article slugs should be treated as the stable public identifier
- Public search only returns published articles
- Public article fetches return both raw Markdown (
content) and rendered HTML (html) - The embed uses the same public API described above
When To Use the Public API vs the Embed
Use the hosted embed when you want the fastest setup and the default Simple AI help center experience. Use the public API when you want to:- Render the help center inside your own frontend
- Fully control layout and branding in your application
- Combine help center content with other product surfaces