import { Novu, ProvidersIdEnum } from '@novu/node';

const novu = new Novu('<NOVU_API_KEY>');

await novu.integrations.getWebhookProviderStatus(ProvidersIdEnum.SendGrid);

{
  "200": "The status of the webhook for the provider requested"
}

Enter your API key in the Authorization field like the example shown below:

E.g ApiKey 18d2e625f05d80e

import { Novu, ProvidersIdEnum } from '@novu/node';

const novu = new Novu('<NOVU_API_KEY>');

await novu.integrations.getWebhookProviderStatus(ProvidersIdEnum.SendGrid);

{
  "200": "The status of the webhook for the provider requested"
}