Create a new experience template

Authentication

AuthorizationBearer
Contentful Management API token

Path parameters

spaceIdstringRequired
environmentIdstringRequired

Query parameters

access_tokenstringOptional

Request

Body
descriptionstringRequired
contentPropertieslist of objectsRequired
designPropertieslist of objectsRequired
componentTreelist of objectsRequired
The experience template's component tree. Send an array of nodes for a composed experience template (an empty array is allowed), or send null for a coded experience template that has no component tree. The field is required: a request that omits it is rejected with a 422 ComponentTreeRequired error. On update, null removes the stored tree.
namestringOptional
slotslist of objectsOptional
metadataobjectOptional
dataAssemblieslist of objectsOptional

Response

201
sysobject
namestring
descriptionstring
contentPropertieslist of objects
designPropertieslist of objects
componentTreelist of objects or nullOptional
slotslist of objectsOptional
metadataobjectOptional
dataAssemblieslist of objectsOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error