---
title: ResendWebhookSettings System Parameter – Webhook Targets for Resend and Repair
description: "ResendWebhookSettings defines the Webhooks users can pick when they repair and resend Log Events in the Nodinite Web Client: target URIs, display names, context values to pass on, and OAuth 2.0 or Basic Authentication with encrypted secrets."
---

# ResendWebhookSettings - System Parameter

**ResendWebhookSettings** defines the Webhooks that users can pick as the target when they repair and resend a logged message ([Log Event][]) from a [Log View][Log Views] in the [Web Client][]. Each Webhook has a display name, a URI, and optional OAuth 2.0 or Basic Authentication; your own Webhook then decides where the message goes. These Webhooks are not the [HTTP Webhook][] [Alarm Plugin][Alarm Plugins], which sends monitoring alerts.

![ResendWebhookSettings opened from the System Parameters list with one Webhook entry for a Contoso order desk and saved, then a refused order in a Log View opened with Repair and Resubmit, Webhook picked as the transport type with the order desk pre-selected from the event's EndPointUri context value, sent, and the order desk showing the received order with the context value as an HTTP header, animated walkthrough (7.12)][Hero]  
*Animated walkthrough: with one enabled Webhook entry, **Repair and Resubmit** offers **Webhook** as the transport type. The event's `EndPointUri` context value pre-selects the matching Webhook, and the Webhook receives the repaired message as the body, with the extracted context values as HTTP headers.*

<h2 id="at-a-glance"><i class="fal fa-table" aria-hidden="true"></i> At a Glance</h2>

| Property | Value |
| --- | --- |
| Key | `ResendWebhookSettings` |
| Data type | json |
| Default | Empty (no Webhooks configured) |
| Read by | [Web API][] (it lists the Webhooks for the Resend and Repair dialogs and makes the call) |
| Takes effect | Within about 15 seconds; no restart needed |
| Status | ✅ Active |
| Since | Nodinite 5.4; authentication from Nodinite 6.1; encrypted secrets with the `PROTECTED_1.` prefix in Nodinite 7 |

## <i class="fal fa-gears" aria-hidden="true"></i> How It Works

<div class="mermaid">
graph LR
  logEvent["fa:fa-envelope Log Event"] --> |Repair and resend| webhook{"fa:fa-code Your Webhook"}
  webhook --> |Office hours| mail["fa:fa-envelope Mail"]
  webhook --> |Statistics| dw["fa:fa-database Data Warehouse"]
  webhook --> |ERP| erp["fa:fa-building Salesforce, SAP, Dynamics 365, ..."]
  style logEvent fill:#2678BD,color:#fff
  style webhook fill:#E47528,color:#fff
  style mail fill:#3F827B,color:#fff
  style dw fill:#3F827B,color:#fff
  style erp fill:#3F827B,color:#fff
</div>

*Your Webhook receives the repaired message and forwards it with your own logic. Blue: the Log Event in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>; orange: your Webhook; green: the targets your Webhook forwards to.*

The Webhook option is available when all of these hold:

* [AllowResubmit][] and [AllowRepair][] are `true`. These master switches remove Resend and Repair from <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> when `false`, whatever the permissions say.
* For the Repair dialog, the user's [Role][Roles] has the **Allow Resend** and **Allow Repair** permissions on the Log View, see [Permission Set for Log Views][].
* `Enabled` is `true` in this parameter. The dialogs list only the Webhook entries with `Enabled` set to `true`, sorted by `Order`, then by `DisplayName`.

The context value `ExtendedProperties/1.0#EndPointUri` isn't required; it pre-selects a Webhook (see [EndPointUri in Context Options][Context Options - EndPointUri]):

* When the Log Event has it, the entry whose `URI` equals it is chosen automatically. The Resend dialog then picks **Webhook** by itself.
* Without it, the only entry is chosen when `EditableURI` is `false`. With `EditableURI` set to `true`, the user types the URI.

<h3 id="what-the-webhook-receives">What the Webhook Receives</h3>

* A `POST` to the entry's `URI`, with `Content-Type: application/json;charset=utf-8`.
* The message as the request body.
* The context values that the `ExtractContextValues` rules pick, plus any the user adds under **Context** in the dialog, as HTTP headers.
* With `Authentication`, an OAuth 2.0 access token (client credentials) or Basic credentials.

A successful Repair writes a [Log Audit][Log Audits] entry (*Message for event '…' has been repaired. Message successfully sent to Webhook: …*). With **Add comment** ticked, which is the default, it also adds a comment to the Log Event.

The repair steps themselves are described in [What is a Log View?][Log View Repair].

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>To develop a custom Webhook, test it with the free <a href="https://webhook.site/">webhook.site</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> service to capture what the resend operation sends.</p></div>
</aside>

## <i class="fal fa-code" aria-hidden="true"></i> Value Format

### Root Object

| Property | Type | Default | Meaning |
| --- | --- | --- | --- |
| `Enabled` | boolean | — | `true` offers the Webhook option in the Web Client; `false` hides it. |
| `EditableURI` | boolean | — | `true` lets the user type any URI for the Webhook; `false` restricts the user to the configured URIs, and the [Web API][] refuses any other URI (*Webhook not found from the pre-configured webhooks*). |
| `ExtractContextValues` | array | — | Rules that pick context properties from the Log Event and use them as defaults for the Webhook call. Each rule has the properties below. |
| `Webhooks` | array | — | The Webhook entries, see [Webhook Object](#webhook-object). |

### ExtractContextValues Rule

The same rule format as [ResubmitContextValuesForActiveMQ][].

| Property | Type | Meaning |
| --- | --- | --- |
| `MessageTypeIds` | array of integers | The [Message Types][] the rule applies to. `[]` or `null` applies it to all Message Types. |
| `KeyRegEx` | string | Regular expression matched against context property keys. Escape backslashes for JSON (`\\.`). |
| `KeyGroup` | integer | Which regex group becomes the key: `0` uses the whole key, `1` the first group. |

### Webhook Object

| Property | Type | Meaning |
| --- | --- | --- |
| `Enabled` | boolean | `true` makes the entry available in the Web Client. |
| `DisplayName` | string | The name the user sees. |
| `Description` | string | A short description shown with the entry. |
| `URI` | string | The address of the Webhook. |
| `Order` | integer | Display order when there are several entries. |
| `Authentication` | object | Optional. Omit it for a Webhook without authentication. See [Authentication Object](#authentication-object). |

### Authentication Object

| Property | Type | Used with | Meaning |
| --- | --- | --- | --- |
| `Enabled` | boolean | both | `true` sends credentials with the call. |
| `Type` | string | — | `client_credentials` (OAuth 2.0) or `basic` (Basic Authentication). |
| `ClientId` | string | `client_credentials` | The OAuth 2.0 client ID. |
| `ClientSecret` | string | `client_credentials` | The client secret. Enter it in clear text; <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> encrypts it and stores it with the `PROTECTED_1.` prefix. |
| `OpenIdEndpointConfiguration` | string | `client_credentials` | URL of the identity provider's `.well-known/openid-configuration` document. |
| `Scope` | string or `null` | `client_credentials` | Optional OAuth 2.0 scope. |
| `Username` | string | `basic` | The user name. |
| `Password` | string | `basic` | The password. Enter it in clear text; <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> encrypts it with the `PROTECTED_1.` prefix. |
| `Protected` | boolean | both | Used by Nodinite 6 to mark an encrypted secret. Nodinite 7 uses the `PROTECTED_1.` prefix instead, so leave it out. |

Secrets are encrypted with the same mechanism as other <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> secrets, see [Secret Management][]. On the edit page, a stored secret shows as `********`:

* Leave `********` as it is to keep the secret.
* Type a new clear-text value to replace it.
* Remove the field to clear it.

A Webhook keeps its secret by its `DisplayName`, or by its `URI` when you change the `DisplayName`. Secrets never leave the [Web API][]: the Webhook list it returns to the dialogs has no `Authentication`.

### Example

Three Webhooks: one without authentication, one with OAuth 2.0, and one with Basic Authentication. The `PROTECTED_1.…` values are shortened fragments of what <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> stores after encryption; the real values are much longer.

```json
{
  "Enabled": true,
  "EditableURI": true,
  "ExtractContextValues": [
    {
      "MessageTypeIds": [],
      "KeyRegEx": "ExtendedProperties/1\\.0#(EndPointUri)",
      "KeyGroup": 1
    },
    {
      "MessageTypeIds": [],
      "KeyRegEx": "x-ms-client-tracking-id",
      "KeyGroup": 0
    }
  ],
  "Webhooks": [
    {
      "Enabled": true,
      "DisplayName": "The Webhook",
      "Description": "Use your custom built Webhook to resend Log Events",
      "URI": "https://127.0.0.1",
      "Order": 0
    },
    {
      "Enabled": true,
      "DisplayName": "OAuth Webhook Example",
      "Description": "Use a custom built Webhook with OAuth 2.0 authentication to resend Log Events",
      "URI": "https://localhost/secure",
      "Order": 1,
      "Authentication": {
        "Enabled": true,
        "Type": "client_credentials",
        "ClientId": "webhook",
        "ClientSecret": "PROTECTED_1.WindowsCertificateStore.BCEBB8FD5C77E8E58853E03F6015A9A4223BC9C6.AES256-RSA-OAEP.…",
        "OpenIdEndpointConfiguration": "http://localhost:8080/auth/realms/dev/.well-known/openid-configuration",
        "Scope": null
      }
    },
    {
      "Enabled": true,
      "DisplayName": "Basic Authentication Webhook Example",
      "Description": "Use a custom built Webhook with basic authentication to resend Log Events",
      "URI": "https://127.0.0.1",
      "Order": 2,
      "Authentication": {
        "Enabled": true,
        "Type": "basic",
        "Username": "DaUserName",
        "Password": "PROTECTED_1.WindowsCertificateStore.BCEBB8FD5C77E8E58853E03F6015A9A4223BC9C6.AES256-RSA-OAEP.…"
      }
    }
  ]
}
```

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-users" aria-hidden="true"></i> [Permission Set for Log Views][] - Grant Allow Resend and Allow Repair  
* <i class="fal fa-tags" aria-hidden="true"></i> [Context Options][Context Options - EndPointUri] - Set `EndPointUri` on your Log Events  
* <i class="fal fa-sliders" aria-hidden="true"></i> [Manage System Parameters][] - Change and validate the value  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-repeat" aria-hidden="true"></i> [AllowResubmit][] - Master switch for Resend and Repair  
* <i class="fal fa-magic" aria-hidden="true"></i> [AllowRepair][] - Master switch for Repair  
* <i class="fal fa-retweet" aria-hidden="true"></i> [ResubmitContextValuesForActiveMQ][] - Context properties for ActiveMQ resubmits  
* <i class="fal fa-webhook" aria-hidden="true"></i> [HTTP Webhook][] - The Webhook Alarm Plugin  
* <i class="fal fa-key" aria-hidden="true"></i> [Secret Management][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [What is a Log View?][Log Views]  
* <i class="fal fa-arrow-rotate-left" aria-hidden="true"></i> [Resend a Log Event][Resend Log Event] - What users see in a Log View  
* <i class="fal fa-globe" aria-hidden="true"></i> [Web Client][]  
* <i class="fal fa-cog" aria-hidden="true"></i> [System Parameters][]  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 is no longer supported. The <code>Protected</code> attribute is only relevant for configurations carried over from v6.</p></div>
</aside>

[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[AllowRepair]:https://docs.nodinite.com/administration/settings/system-parameters/allowrepair/
[AllowResubmit]:https://docs.nodinite.com/administration/settings/system-parameters/allowresubmit/
[Context Options - EndPointUri]:https://docs.nodinite.com/core-services/log-event/features/context-options/#endpointuri
[Hero]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/ConfigurationDatabase/SystemParameters/SystemParameters_ResendWebhookSettings.gif
[HTTP Webhook]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/http-webhook/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log View Repair]:https://docs.nodinite.com/administration/log-management/log-views/features/view-log-event-details-and-repair/#fa-magic-repair
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Permission Set for Log Views]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-log-views/
[Resend Log Event]:https://docs.nodinite.com/getting-started/log/open-a-log-event-and-read-its-message/#resend
[ResubmitContextValuesForActiveMQ]:https://docs.nodinite.com/administration/settings/system-parameters/resubmitcontextvaluesforactivemq/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Secret Management]:https://docs.nodinite.com/install-and-update/troubleshooting/secret-managment/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/