Skip to navigation

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.

Path parameters

spaceIdstringRequired
environmentIdstringRequired
sessionIdstringRequired

Headers

authorizationstringOptional

Query parameters

access_tokenstringOptional
resource_resolutionstringOptional

Response

200
sysobject
nodeslist of objects
errorslist of objects

Errors

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