Create a preview session

Creates a preview session for an experience, experience template, experience fragment, or component, and returns the session ID. Requires a Content Management API token.

Authentication

AuthorizationBearer

A Content Management API token, sent as Authorization: Bearer <token>.

Path parameters

spaceIdstringRequired
environmentIdstringRequired

Request

Body
entityobjectRequired
contextobjectRequired

Response

201
sysobject
contextobject
includesobject

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