The CMS Compliance API lets apps request a compliance review of CMS content actions at the site or account level. Supported actions include publishing a new draft, publishing a changed or unchanged item, and unpublishing an item with or without pending edits.
With the CMS Compliance API, you can:
For each successful request, the service fetches the required CMS data item versions,
returns a ComplianceReviewRequest for every submitted item, and emits the same objects
in a domain event. Authorized consumers can subscribe to the event as a webhook and
process the requests in their own review, approval, or rejection workflow.
The service is independent of the calling UI and doesn't track or apply the review outcome.
Call Request Review with the action, data item ID, and collection ID. For
UNPUBLISH_CHANGED, you can also specify which version should remain as the saved draft.
The action determines which CMS data item versions the service reads and returns:
PUBLISH_DRAFT: the proposed draft only, because nothing is live yet.PUBLISH_CHANGED: the current published version and proposed draft.PUBLISH_PUBLISHED: the same published item as both the current and proposed version.UNPUBLISH_PUBLISHED: the current published version only.UNPUBLISH_CHANGED: the current published version and proposed draft, plus the optional version the user wants to preserve as a draft.The currentDataItem is the version that's currently published. The proposedDataItem
is the version submitted for review. Comparing them shows whether the request introduces
a content change.
To submit several data items at once, call Bulk Request Review with a single
collectionId and a list of items. Each item carries the same action, dataItemId, and
versionOnUnpublish fields as a single request, and the actions within one call can differ
from each other. The service applies the matrix above to each item on its own, so a batch
that combines PUBLISH_DRAFT and PUBLISH_CHANGED returns one review request holding only
proposedDataItem and another holding both versions.
A batch is all-or-nothing. The service fetches the data item versions the whole batch needs together, in a single CMS query per collection version, so the outcome is shared by every item in the call: either all the review requests are built and emitted in one Bulk Review Requested event, or the call fails and nothing is emitted. There's no partial success, and no per-item error to inspect.
It's important to note the following points before starting to code:
versionOnUnpublish is used only for UNPUBLISH_CHANGED. It can be omitted, and is ignored for every other action.DATA_ITEMS_NOT_FOUND and nothing is emitted.PUBLISH_PUBLISHED, the same as the current version.UNPUBLISH_CHANGED, whether to preserve the latest draft edits or the live published version as the saved draft.Last updated: 7 October 2026