Get the current preview experience

Returns the current hydrated experience of a session, including unsaved edits. This route is served from the preview host, `https://preview.xdn.contentful.com` (EU: `https://preview.xdn.eu.contentful.com`), not from the management host. Requires a Content Preview API access token, sent as `Authorization: Bearer <token>` or as the `access_token` query parameter. When both are present, the first `access_token` query parameter is used.

Authentication

AuthorizationBearer

A Content Preview API access token, sent as Authorization: Bearer <token> or as the access_token query parameter.

Path parameters

spaceIdstringRequired
environmentIdstringRequired
sessionIdstringRequired

Headers

authorizationstringOptional

Query parameters

access_tokenstringOptional
resource_resolutionstringOptional

Response

200
sysobject
nodeslist of objects
errorslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error