Apply Page Optimization
Changed onRecord that a page's optimization was acted on off-platform — for when the change was made outside Scrunch (e.g. in Sitecore), so no Scrunch review is needed.
Send exactly one of: approve_all: true to accept every changed block, or a reviews list with per-block verdicts by chunk id (approved keeps our version, rejected keeps the original). A reviews list can be partial — un-verdicted blocks keep the run pending, so blocks can be resolved across several calls. The page is acknowledged automatically once every changed block has a verdict, matching the in-app flow that can't close a page with an unresolved block.
Applies to the page's latest run. Returns the run (same shape as the optimization endpoint) — acknowledged once complete, otherwise still pending. Returns 422 when neither or both actions are given, 404 when the page has no run, and 409 for an edge-delivery (AXP-active) page — those go through the edge staging workflow.
Pass domain (e.g. us.example.com) to pin the run to one site of the brand, so acting on a path shared across sites can't acknowledge the wrong site's page.
Request
- Base URLhttps://api.scrunchai.com/v1
- AuthHTTP bearer
Path parameters
Query parameters
Scope to one site of the brand by host, e.g. us.example.com.
Request body
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterdomain
- info
- info
endpoint added
- info