Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

HomeDev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference
GitHubNuGetDev CommunityOptimizely AcademySubmit a ticket

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

Create a new display template.

New Requests
Body Params

The display template that should be created.

string
required
length between 1 and 255

The display name of this display template.

string | null

The optional node type this display template is valid for.

string

Represent the base type of a ContentType.

string | null

The optional key of the content type this display template is valid for.

boolean

If this is the default display template for the associated base type,
node type or content type.

settings
object

The available settings for this display template.

Responses

Language
Credentials
Select from the Examples drop-down list. Or choose an example:
Select from the Examples drop-down list.