API Reference
Subscribers
- GETGet subscribers
- POSTCreate subscriber
- POSTBulk create subscribers
- GETGet subscriber
- PUTUpdate subscriber
- DELDelete subscriber
- PUTUpdate subscriber credentials
- DELDelete subscriber credentials by providerid
- PATCHUpdate subscriber online status
- GETGet subscriber preferences
- GETGet subscriber global preferences
- PATCHUpdate subscriber preference
- PATCHUpdate subscriber global preference
- GETGet in app notification feed for a particular subscriber
- GETGet the unseen in app notifications count for subscribers feed
- POSTMark a subscriber feed message as seen
- POSTMarks all the subscriber messages as read unread seen or unseen optionally you can pass feed id or array to mark messages of a particular feed
- POSTMark message action as seen
- GETHandle providers oauth redirect
- GETHandle chat oauth
Topics
Notification
Workflows
Workflow Overrides
Workflow groups
Integrations
Layouts
Execution Details
Organizations
Layouts
Filter layouts
GET
/
v1
/
layouts
Copy
Ask AI
import { Novu } from '@novu/node';
const novu = new Novu('<NOVU_API_KEY>');
const params = {
page: 0, // optional
pageSize: 20, // optional
sortBy: "_id"
orderBy: -1 //optional
}
await novu.layouts.list(params);
Copy
Ask AI
{
data: ["data"],
page: 0,
pageSize: 0,
totalCount: 0
}
Enter your API key in the Authorization
field like the example shown below:
E.g ApiKey 18d2e625f05d80e
Copy
Ask AI
import { Novu } from '@novu/node';
const novu = new Novu('<NOVU_API_KEY>');
const params = {
page: 0, // optional
pageSize: 20, // optional
sortBy: "_id"
orderBy: -1 //optional
}
await novu.layouts.list(params);
Copy
Ask AI
{
data: ["data"],
page: 0,
pageSize: 0,
totalCount: 0
}
Query Parameters
Number of page for the pagination
Required range:
x >= 0
Size of page for the pagination
Required range:
x >= 0
Sort field. Currently only supported createdAt
Direction of the sorting query param. Either ascending (1) or descending (-1)
Available options:
1
, -1
Response
200
application/json
The list of layouts that match the criteria of the query params are successfully returned.
The response is of type object
.
Was this page helpful?
Copy
Ask AI
import { Novu } from '@novu/node';
const novu = new Novu('<NOVU_API_KEY>');
const params = {
page: 0, // optional
pageSize: 20, // optional
sortBy: "_id"
orderBy: -1 //optional
}
await novu.layouts.list(params);
Copy
Ask AI
{
data: ["data"],
page: 0,
pageSize: 0,
totalCount: 0
}
Assistant
Responses are generated using AI and may contain mistakes.