Layouts

Creates a new layout in the Novu Cloud environment

post/v2/layouts

Request

  • Base URL
    https://api.novu.co
  • Auth
    API key in header Authorization

Headers

idempotency-keystring

A header for idempotency purposes

Request body

layoutIdstring required

Unique identifier for the layout

namestring required

Name of the layout

isTranslationEnabledboolean

Enable or disable translations for this layout

__source'dashboard'

Source of layout creation

Response

Created

_idstring required

Unique internal identifier of the layout

layoutIdstring required

Unique identifier for the layout

slugstring required

Slug of the layout

namestring required

Name of the layout

isDefaultboolean required

Whether the layout is the default layout

isTranslationEnabledboolean required

Whether the layout translations are enabled

updatedAtstring required

Last updated timestamp

createdAtstring required

Creation timestamp

origin'novu-cloud' | 'novu-cloud-v1' | 'external' required

Origin of the workflow

type'REGULAR' | 'ECHO' | 'BRIDGE' required

Type of the layout

variablesobject nullable

The variables JSON Schema for the layout

Changes

    • breaking

      the response's property type changed from no type to object for status

    • breaking

      the response property ///// became optional for the status

    • breaking

      the ///// response's property type changed from no type to object for status

    • info

      removed from the ///// response property allOf list for the response status