For the complete documentation index, see llms.txt. This page is also available as Markdown.

Save Webhook Destination

save Webhook Destination.

A webhook destination is an external URL Norbix calls when a subscribed event fires. This method creates the webhook destination and returns its id.

This method is on the Hub surface (norbix.hub.webhooks) β€” call it from admin tooling or IaC.

These examples assume the SDK is installed and your credentials are set as environment variables β€” each client reads them automatically, so the constructors below take no arguments. See Install a Norbix SDK.

import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.webhooks.saveWebhookDestination({
  destinationName: 'orders',
  endpointUrl: 'https://api.example.com/hooks/orders',
  selectedEvents: ['item-1'],
  isEnabled: true,
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Webhooks.SaveWebhookDestinationAsync(new SaveWebhookDestinationRequest
{
    DestinationName = "orders",
    EndpointUrl = "https://api.example.com/hooks/orders",
    SelectedEvents = new[] { "item-1" },
    IsEnabled = true,
});

In the dashboard

Manage this visually in Norbix Cloud β€” see Webhooks β†’ Destinations.

API reference

Full request and response for this endpoint: Save Webhook Destination.

Last updated