Create a layout
Creates a new layout in the Novu Cloud environment
Authorization
Authorization
<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Request Body
application/json
RequiredLayout creation details
layoutId
RequiredstringUnique identifier for the layout
name
RequiredstringName of the layout
__source
stringSource of layout creation
Default:
"dashboard"
Value in: "dashboard"
Header Parameters
idempotency-key
stringA header for idempotency purposes
Response Body
Created
_id
RequiredstringUnique internal identifier of the layout
layoutId
RequiredstringUnique identifier for the layout
slug
RequiredobjectSlug of the layout
name
RequiredstringName of the layout
isDefault
RequiredbooleanWhether the layout is the default layout
updatedAt
RequiredstringLast updated timestamp
updatedBy
objectUser who last updated the layout
createdAt
RequiredstringCreation timestamp
origin
RequiredstringOrigin of the layout
Value in:
"novu-cloud" | "novu-cloud-v1" | "external"
type
RequiredstringType of the layout
Value in:
"REGULAR" | "ECHO" | "BRIDGE"
variables
object | nullThe variables JSON Schema for the layout
controls
RequiredobjectControls metadata for the layout