Rest API
Publish the help center
POST /api/v1/help-center/publish
Start a help center publish. This builds the help center from the current FAQs, categories and settings and deploys it to the live help center site. Publishing runs asynchronously and only one publish can run per website at a time.
Use cases
- Content release: Publish after adding or changing FAQs so the changes go live
- Partial updates: Publish only specific FAQs with a
partialscope, or only structure and settings with astructuralscope
Notes
- Returns
202with the created job, poll the publish status endpoint to follow progress - Returns
409when a publish is already running for the website - Omit the body for a full publish
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Your API key from account settings.
The email address of your user.
The ID of your account. You can find this in the account settings.
The ID of the workspace you want to use.
Request Body
Section titled “Request Body ”object
What to publish. Defaults to a full publish.
object
full rebuilds everything, partial republishes only the FAQs in faqIds, structural republishes structure and settings without regenerating articles.
FAQ IDs to republish, only used with the partial type.
Responses
Section titled “ Responses ”The publish was accepted and is running in the background.
object
object
Unique identifier for this publish job.
Current status of the job, e.g. queued, running, succeeded or failed.
What was published, see the publish endpoint for the scope shape.
object
Email address of the user (or API caller) that started the publish.
Unix timestamp (ms) when the job was created.
Unix timestamp (ms) when the job started.
Unix timestamp (ms) when the job finished, absent while running.
Error message when the job failed.
FAQ IDs that failed to publish, if any.
Example
{ "job": { "jobId": "20260101T120000-abcd", "accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "websiteId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "status": "queued", "scope": { "type": "full" }, "triggeredBy": "user@example.com", "createdAt": 1641081600000, "startedAt": 1641081600000, "failedFaqIds": [] }}Bad request - missing websiteId.
Unauthorized - invalid API key.
A publish is already in progress for this website.