Skip to main content
post/v2/layouts
Request example
Response
post/v2/layouts

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
layoutIdstringrequired#
Unique identifier for the layout
namestringrequired#
Name of the layout
isTranslationEnabledboolean#
Enable or disable translations for this layout

Default: false

__sourceenum<string>#
Source of layout creation

Default: "dashboard"

Options:dashboard

Responses

application/json
Created
_idstringrequired#
Unique internal identifier of the layout
layoutIdstringrequired#
Unique identifier for the layout
slugstringrequired#
Slug of the layout
namestringrequired#
Name of the layout
isDefaultbooleanrequired#
Whether the layout is the default layout
isTranslationEnabledbooleanrequired#
Whether the layout translations are enabled
updatedAtstringrequired#
Last updated timestamp
updatedByobject#
User who last updated the layout
createdAtstringrequired#
Creation timestamp
originenum<string>required#
Origin of the workflow
Options:novu-cloudnovu-cloud-v1external
typeenum<string>required#
Type of the layout
Options:REGULARECHOBRIDGE
variablesobject#
The variables JSON Schema for the layout
controlsobjectrequired#
Controls metadata for the layout