# WebHooks

eb Hooks need only to be created when you want to use the [Triggered Action](/dbnetsoft/raceresultexchange/operation-modes/triggered-actions.md) feature (e.g. print a bib when new competitor is created) on participant changes.

Depending whether you work online or offline, your RR12 event needs to be configured slightly different.

## Online

Our RemoteRedirect webservice provides a bridge between RR12 working online that can only access public web servers and RRExchange running locally.&#x20;

{% hint style="info" %}
Protocol is https and host is raceresult.remoteredirect.com:\
`https://raceresult.remoteredirect.com`
{% endhint %}

The following web hooks need to be configured in RR12 (Main Window - Access Rights/Simplae API - Web Hooks):

<table><thead><tr><th width="138">Type</th><th>URL</th><th width="96">Filter</th><th>Fields</th></tr></thead><tbody><tr><td>New Participant</td><td><code>https://raceresult.remoteredirect.com/api/raceresult/newparticipant</code></td><td></td><td><code>ID;Bib;Lastname</code></td></tr><tr><td>Participant updated</td><td><code>https://raceresult.remoteredirect.com/api/raceresult/updateparticipant</code></td><td></td><td><code>ID;Bib;Lastname</code></td></tr></tbody></table>

<figure><img src="/files/JWvdfTFmSq8ThUjKELyV" alt="" width="375"><figcaption><p>RR12 Configuration when working online</p></figcaption></figure>

## Offline

When working offline (e.g. checking out the event and using the local race result Web Server, RRExchange acts a a server to receive web hooks.

{% hint style="info" %}
Protocol is http (not https) and host is localhost:8181 (no www, take care with the :):\
`http://localhost:8181`
{% endhint %}

The following web hooks need to be configured in RR12 (Main Window - Access Rights/Simple API - Web Hooks):

<table><thead><tr><th width="138">Type</th><th>URL</th><th width="96">Filter</th><th>Fields</th></tr></thead><tbody><tr><td>New Participant</td><td><code>http://localhost:8181/api/raceresult/newparticipant</code></td><td></td><td><code>ID;Bib;Lastname</code></td></tr><tr><td>Participant updated</td><td><code>http://localhost:8181/api/raceresult/updateparticipant</code></td><td></td><td><code>ID;Bib;Lastname</code></td></tr></tbody></table>

<figure><img src="/files/NMtPgdblbrC80qNPX1bK" alt="" width="375"><figcaption><p>RR12 Configuration when working offline</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dbnetsoft.com/dbnetsoft/raceresultexchange/readme/configuration/webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
