Site preview
Fetch an up-to-date preview of your site before publishing.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$siteIdstringRequired
The unique id of the site
Query parameters
siteSpacestringOptional
ID of the site-space to preview. If not provided, the default site-space will be used.
claimsstringOptional
Rison encoded string of attributes/assertions about the visitor for which we want to preview the site.
draftbooleanOptionalDefault:
Whether to include draft content in the preview. Defaults to true
truetargetstringOptional
Target URL of the preview. If not provided, the default site preview URL will be used.
Responses
200
OK
application/json
urlstring · uri · max: 2048Required
400
Bad Request
application/json
get
/orgs/{organizationId}/sites/{siteId}/publishing/previewLast updated
Was this helpful?