Every article in Help.Center has two representations: the published version your customers see, and a draft version that tracks in-progress edits. Understanding this model makes the whole Articles API predictable.
Draft statuses
| Status | Meaning |
|---|---|
unpublished | Never been published. Only a draft exists. |
published | Published, and the draft is in sync with the live version. |
published_with_changes | Published, but the draft has edits that differ from the live version. |
Editing the draft of a published article moves it to published_with_changes. Publishing moves it back to published. Draft responses also carry a has_unpublished_changes boolean and a preview_url for reviewing unpublished content in the browser.
List and filter drafts
GET /v0/centers/:centerId/articles/drafts
Returns all drafts regardless of status. Filter with the same parameters as the published list (search, category, pagination, expand[]=content) plus a status filter:
# Articles with edits waiting to go live
curl -s -X GET \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/articles/drafts?status=published_with_changes"
# Never-published drafts
curl -s -X GET \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/articles/drafts?status=unpublished"
GET /articles/drafts/count returns the matching count for the same filters.
Read a single draft
curl -s -X GET \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/articles/ARTICLE_ID/draft?expand[]=content"
This returns the draft version of the article, including unpublished changes — unlike GET /articles/:articleId, which returns only published content.
Discard draft changes
To throw away unpublished edits and restore the draft to match the live version:
curl -s -X POST \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/articles/ARTICLE_ID/draft/discard"
This returns 404 if the article has never been published — there is no published version to restore from.
Unpublish an article
curl -s -X POST \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/articles/ARTICLE_ID/unpublish"
Unpublishing removes the article from your live help center. The draft content is preserved, so you can edit and republish later.
Please Note
Unpublishing the root (default language) article also unpublishes all of its translations. Check the article's
translationsarray before unpublishing if your center serves multiple languages.
Endpoint reference
| Action | Method | Endpoint | Scope |
|---|---|---|---|
| List drafts | GET | /v0/centers/:centerId/articles/drafts | content.read |
| Count drafts | GET | /v0/centers/:centerId/articles/drafts/count | content.read |
| Get draft | GET | /v0/centers/:centerId/articles/:articleId/draft | content.read |
| Update draft | PATCH | /v0/centers/:centerId/articles/:articleId/draft | content.write |
| Discard draft changes | POST | /v0/centers/:centerId/articles/:articleId/draft/discard | content.write |
| Unpublish article | POST | /v0/centers/:centerId/articles/:articleId/unpublish | content.publish |