Skip to main content
POST
Create Preview Token

Autorizzazioni

Authorization
string
header
obbligatorio

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

Parametri del percorso

page_id
string<uuid>
obbligatorio

Parametri della query

locale
string
predefinito:it

Risposta

Successful Response

data
CmsPreviewTokenOut · object | null

The signed live-preview capability (F2) handed to the admin composer.

preview_url is the fully-qualified storefront route (built server-side from the tenant's own domain, so the admin needs no storefront-origin env) that renders the draft when loaded in the iframe. token is exposed separately so the composer can re-mint / cache-bust without a full URL parse.

meta
PaginationMeta · object | null
error
string | null
error_code
string | null