Duplicate a layout
Duplicates a layout by its unique identifier layoutId. This will create a new layout with the content of the original layout.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Request Body
application/jsonRequirednameRequiredstringName of the layout
isTranslationEnabledbooleanEnable or disable translations for this layout
Default:
falsePath Parameters
layoutIdRequiredstringHeader Parameters
idempotency-keystringA header for idempotency purposes
Response Body
Created
_idRequiredstringUnique internal identifier of the layout
layoutIdRequiredstringUnique identifier for the layout
slugRequiredstringSlug of the layout
nameRequiredstringName of the layout
isDefaultRequiredbooleanWhether the layout is the default layout
isTranslationEnabledRequiredbooleanWhether the layout translations are enabled
updatedAtRequiredstringLast updated timestamp
updatedByobjectUser who last updated the layout
createdAtRequiredstringCreation timestamp
originRequiredstringOrigin of the layout
Value in:
"novu-cloud" | "novu-cloud-v1" | "external"typeRequiredstringType of the layout
Value in:
"REGULAR" | "ECHO" | "BRIDGE"variablesobject | nullThe variables JSON Schema for the layout
controlsRequiredobjectControls metadata for the layout