> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/sdks-and-cli/webhooks/module/receive-webhook.md).

# Receive Webhook

These endpoints turn the module on or off for your project. Handles the webhook.

This method is on the **Hub** surface (`norbix.hub.webhooks`) — call it from admin tooling or IaC.

{% hint style="info" %}
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](/sdks-and-cli/install.md).
{% endhint %}

{% tabs %}
{% tab title="JavaScript / TypeScript" %}

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

const result = await norbix.hub.webhooks.receiveWebhook({
  source: 'TEST',
  integrationInstanceId: 'integrationinstance_4kX9mQvR2tYw7ZbC1dFgHj',
  requestStream: '{}',
});
```

{% endtab %}

{% tab title=".NET" %}

```csharp
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Webhooks.ReceiveWebhookAsync(new ReceiveWebhook
{
    Source = "TEST",
    IntegrationInstanceId = "integrationinstance_4kX9mQvR2tYw7ZbC1dFgHj",
    RequestStream = "{}",
});
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.webhooks.receive_webhook(
    source="TEST",
    integrationInstanceId="integrationinstance_4kX9mQvR2tYw7ZbC1dFgHj",
    requestStream="{}",
)
```

{% endtab %}

{% tab title="Go" %}

```go
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
err := c.Hub.Webhooks.ReceiveWebhook(ctx, "TEST", "integrationinstance_4kX9mQvR2tYw7ZbC1dFgHj", map[string]any{
	"requestStream": "{}",
}, &result)
```

{% endtab %}

{% tab title="Dart / Flutter" %}

```dart
import 'package:norbix/norbix_hub.dart';

final hub = NorbixHub();

final result = await hub.webhooks.receiveWebhook(source: 'TEST', integrationInstanceId: 'integrationinstance_4kX9mQvR2tYw7ZbC1dFgHj', body: {
  'requestStream': '{}',
});
```

{% endtab %}

{% tab title="Swift" %}

```swift
import NorbixSwift

let client = Norbix()

let result = try await client.hub.webhooks.receiveWebhook([
    "source": "TEST",
    "integrationInstanceId": "integrationinstance_4kX9mQvR2tYw7ZbC1dFgHj",
    "requestStream": "{}",
])
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
import dev.norbix.sdk.hub.NorbixHub

val hub = NorbixHub()

val result = hub.webhooks.receiveWebhook(mapOf(
    "source" to "TEST",
    "integrationInstanceId" to "integrationinstance_4kX9mQvR2tYw7ZbC1dFgHj",
    "requestStream" to "{}",
))
```

{% endtab %}

{% tab title="CLI" %}

```sh
norbix hub webhooks webhook receive --source TEST --integrationInstanceId integrationinstance_4kX9mQvR2tYw7ZbC1dFgHj --requestStream '{}'
# no login flags needed — uses your `norbix login` session or --profile
```

{% endtab %}
{% endtabs %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Webhooks → Module](/other-topics/triggers.md).

## API reference

Full request and response for this endpoint: [Receive Webhook](/api-reference/webhooks/module/receive-webhook.md).
