---
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.*

## :fa-table: At a Glance {#at-a-glance}

| 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 |

## :fa-gears: 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 :Nodinite:; 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 :Nodinite: 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.

### What the Webhook Receives {#what-the-webhook-receives}

* 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].

>[!TIP]
>To develop a custom Webhook, test it with the free [webhook.site](https://webhook.site/)<sup>:fa-arrow-up-right-from-square:</sup> service to capture what the resend operation sends.

## :fa-code: 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; :Nodinite: 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; :Nodinite: 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 :Nodinite: 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 :Nodinite: 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.…"
      }
    }
  ]
}
```

## :fa-hand-point-right: Next Steps

* :fa-users: [Permission Set for Log Views][] - Grant Allow Resend and Allow Repair  
* :fa-tags: [Context Options][Context Options - EndPointUri] - Set `EndPointUri` on your Log Events  
* :fa-sliders: [Manage System Parameters][] - Change and validate the value  

## :fa-link-horizontal: Related Topics

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

> [!NOTE]
> :Nodinite: v6 is no longer supported. The `Protected` attribute is only relevant for configurations carried over from v6.

[Alarm Plugins]:{ndr}/Administration/5.%20Settings/1.%20Alarm%20Plugins/Features/What%20is%20an%20Alarm%20Plugin.md
[AllowRepair]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/AllowRepair.md
[AllowResubmit]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/AllowResubmit.md
[Context Options - EndPointUri]:{ndr}/Core%20Services/Log%20Event/Features/Context%20Options.md#endpointuri
[Hero]:{ndm}/Documentation%20Pictures/IM/CoreServices/ConfigurationDatabase/SystemParameters/SystemParameters_ResendWebhookSettings.gif
[HTTP Webhook]:{ndr}/Administration/5.%20Settings/1.%20Alarm%20Plugins/Features/HTTP%20Webhook.md
[Log Audits]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log View Repair]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/View%20Log%20Event%20Details%20and%20Repair.md#fa-magic-repair
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Manage System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Manage%20System%20Parameters.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Permission Set for Log Views]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20Log%20Views.md
[Resend Log Event]:{ndr}/Getting%20Started/2.%20Log/Open%20a%20Log%20Event%20and%20read%20its%20message.md#resend
[ResubmitContextValuesForActiveMQ]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/ResubmitContextValuesForActiveMQ.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Secret Management]:{ndr}/Install%20and%20Update/Troubleshooting/Secret%20Managment.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Core%20Services/Web%20Client/Overview.md