> For the complete documentation index, see [llms.txt](https://docs.dbnetsoft.com/dbnetsoft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dbnetsoft.com/dbnetsoft/raceresultexchange/readme/configuration/webhooks.md).

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