Enter your API key in the
Authorization field like the example shown below:E.g ApiKey 18d2e625f05d80eimport { Novu, ProvidersIdEnum } from '@novu/node';
const novu = new Novu('<NOVU_API_KEY>');
await novu.integrations.getWebhookProviderStatus(ProvidersIdEnum.SendGrid);
// Get integrations
use Novu\SDK\Novu;
$novu = new Novu(<NOVU_API_KEY>);
$novu->getWebhookSupportStatusForProvider($providerId)->toArray();
require 'novu'
client = Novu::Client.new('<NOVU_API_KEY>')
client.webhook_provider_status('<insert-provider-id>')
from novu.api import IntegrationApi
url = "https://api.novu.co"
api_key = "<NOVU_API_KEY>"
novu = IntegrationApi(url, api_key).status(
provider_id="<The_Provider_ID>", # Get webhook support status for a given provider using its providerID.
)
import co.novu.sdk.Novu;
public class Main {
public static void main(String[] args) {
String apiKey = "<NOVU_API_KEY>";
Novu novu = new Novu(apiKey);
novu.webhookProviderStatus(providerId);
}
}
{
200: "The status of the webhook for the provider requested"
}