Skip to main content
POST
Publish policy version

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Path Parameters

id
string
required

Policy ID

Example:

"pol_abc123def456"

Body

application/json

Publish a new policy version

versionId
string

Version ID to publish. PASS THIS after update-version to publish your edits — omitting it publishes stale draftContent (loses your changes).

Example:

"pv_abc123def456"

setAsActive
boolean

Whether to set this version as the active version

Example:

true

changelog
string

Optional changelog to associate with the published version

Example:

"Updated access controls section"

keepAcknowledgments
boolean

Publish as a minor change: keep existing employee acknowledgments only when reliable publication history exists. First publication and legacy policies without reliable history still require acknowledgment. Use only for corrections that do not change what the policy requires. Defaults to false.

Example:

false

Response

Version published

versionId
string
version
number