Skip to main content
POST
Sync help center content
This is a full replace, not an upsert. Every category or article that exists in the help center but is missing from the tree you send is permanently deleted, together with its version history and AI knowledge. There is no dry run, confirmation, or rollback. Always send the complete intended tree; use Export content to fetch the current one first.

What is atomic

Structural changes (categories, articles, publish state, deletions) are applied in a single database transaction: either the whole tree is reconciled or nothing changes. Synced articles are published as part of that transaction. AI knowledge updates and translations run after the commit. If one of them fails, the structural change is kept and the failure is reported as an error event in the SSE stream. The plain JSON response only returns change counts, so send Accept: text/event-stream when you need to know about these failures. Re-run the sync, or retranslate the affected article, to retry.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
categories
object[]
required
openapi_spec
string

Response

Default Response

changes
object
required