Layouts
Create a layout
Create a layout using the Novu REST API. Requires your environment secret key in the Authorization header.
POST
PHP
Authorizations
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
Headers
A header for idempotency purposes
Body
application/json
Layout creation details
Response
Created
Unique internal identifier of the layout
Unique identifier for the layout
Slug of the layout
Name of the layout
Whether the layout is the default layout
Whether the layout translations are enabled
Last updated timestamp
Creation timestamp
Origin of the layout
Available options:
novu-cloud, novu-cloud-v1, external Type of the layout
Available options:
REGULAR, ECHO, BRIDGE Controls metadata for the layout
User who last updated the layout
The variables JSON Schema for the layout