Rest API
Get help center publish status
GET /api/v1/help-center/publish-status
Retrieve the publish state of the help center for a website: whether a publish is currently running, plus the most recent publish jobs, newest first.
Use cases
- Progress polling: After starting a publish, poll this endpoint until the job status is terminal
- Account investigation: Check when the help center was last published and whether recent publishes succeeded
Notes
state.runningJobIdis set while a publish is in flight,nullwhen the website is idle- Up to 25 recent jobs are returned
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.
Responses
Section titled “ Responses ”The publish state and recent jobs.
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.
The per-website publish coordinator, null when the website has never been published.
object
ID of the currently running job, null when idle.
Example
{ "jobs": [ { "jobId": "20260101T120000-abcd", "accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "websiteId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "status": "succeeded", "scope": { "type": "full" }, "triggeredBy": "user@example.com", "createdAt": 1641081600000, "startedAt": 1641081600000, "finishedAt": 1641081900000, "failedFaqIds": [] } ], "state": { "runningJobId": null, "leaseExpiresAt": null }}Bad request - missing websiteId.
Unauthorized - invalid API key.