import { Novu } from '@novu/node';
const novu = new Novu('<NOVU_API_KEY>');
await novu.integrations.getAll();
{
_id: "_id",
_environmentId: "_environmentId",
_organizationId: "_organizationId",
name: "name",
identifier: "identifier",
providerId: "providerId",
channel: "channel",
credentials: credentials,
active: true,
deleted: true,
deletedAt: "deletedAt",
deletedBy: "deletedBy",
primary: true
}
List all the channels integrations created in the organization
import { Novu } from '@novu/node';
const novu = new Novu('<NOVU_API_KEY>');
await novu.integrations.getAll();
{
_id: "_id",
_environmentId: "_environmentId",
_organizationId: "_organizationId",
name: "name",
identifier: "identifier",
providerId: "providerId",
channel: "channel",
credentials: credentials,
active: true,
deleted: true,
deletedAt: "deletedAt",
deletedBy: "deletedBy",
primary: true
}
Enter your API key in the Authorization
field like the example shown below:
E.g ApiKey 18d2e625f05d80e
import { Novu } from '@novu/node';
const novu = new Novu('<NOVU_API_KEY>');
await novu.integrations.getAll();
{
_id: "_id",
_environmentId: "_environmentId",
_organizationId: "_organizationId",
name: "name",
identifier: "identifier",
providerId: "providerId",
channel: "channel",
credentials: credentials,
active: true,
deleted: true,
deletedAt: "deletedAt",
deletedBy: "deletedBy",
primary: true
}
API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
The list of integrations belonging to the organization that are successfully returned.
The response is of type object[]
.
Was this page helpful?