> For the complete documentation index, see [llms.txt](https://docs.adpage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adpage.io/faq/faq-nl/foutopsporing-monitoring/hoe-speel-ik-een-webhook-opnieuw-af-in-de-voorbeeldmodus.md).

# Hoe speel ik een webhook opnieuw af in de voorbeeldmodus?

Het is mogelijk om een webhook, of een matched webhook, opnieuw af te spelen in de voorbeeldmodus van de GTM-servercontainer voor foutopsporingsdoeleinden

Dit artikel legt uit hoe je de payload van ontvangen webhooks kunt bekijken en hoe je een webhook opnieuw kunt afspelen in de voorbeeldmodus van je servercontainer.

### Webhooklogs bekijken

In je AdPage-dashboard kun je de payload van elke webhook die je hebt ontvangen bekijken in de Webhooklogs. Onder de grafiek vind je de lijst met ontvangen webhooks, gesorteerd van meest recent naar oudste. Elk webhooklog heeft twee knoppen: één om de webhookpayload te bekijken en één om de webhook opnieuw af te spelen in de voorbeeldmodus van je GTM-servercontainer.

<figure><img src="https://3977711974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5eC7lwaeygB0xx6AOZcE%2Fuploads%2FN4cA16ziu6Oa5K91HNaR%2Fimage.png?alt=media&amp;token=5e4a53dc-49c0-4668-b1d2-a5a5c06ee9c6" alt=""><figcaption></figcaption></figure>

Door op de knop "\</>" te klikken, open je de payload van die specifieke webhook. Deze bevat alle marketing- en e-commerce-informatie die vanuit de CMS-backend naar de servercontainer is verzonden.

### Een webhook opnieuw afspelen

Om een webhook opnieuw af te spelen, klik je op de afspeelknop naast de webhook die je wilt. Er wordt een pop-up geopend waarin je de preview-header moet toevoegen.

![](https://3977711974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5eC7lwaeygB0xx6AOZcE%2Fuploads%2FJH72nSqaSuuHyGTlfv8K%2Fimage.png?alt=media\&token=e8c97298-ac23-44d8-9192-0e5550c7e731)

Om de preview-header te vinden, open je je GTM-servercontainer in voorbeeldmodus. Klik op de drie puntjes in de rechterbovenhoek en selecteer Handmatig verzoeken verzenden.

<figure><img src="https://3977711974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5eC7lwaeygB0xx6AOZcE%2Fuploads%2F4enPp2DSALnoqDrufIBt%2Fimage.png?alt=media&amp;token=e32b8e45-0987-45e8-b791-562b99dfa0b7" alt=""><figcaption></figcaption></figure>

Kopieer de HTTP-header x-gtm-server-preview en plak deze in het invoerveld in de pop-up voor het opnieuw afspelen van webhooks in de Webhooklogs-pop-up.

<figure><img src="https://3977711974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5eC7lwaeygB0xx6AOZcE%2Fuploads%2FZGYvKKGoQzZwnhImsXen%2Fimage.png?alt=media&amp;token=83a1fff5-b86c-4e60-9218-9deed63ff82d" alt=""><figcaption></figcaption></figure>

Klik op de knop Opnieuw afspelen en de webhook wordt opnieuw afgespeeld in je sGTM-voorbeeldmodus.

### Gematchte webhook opnieuw afspelen

Om een gematchte webhook opnieuw af te spelen, klik je op een gematchte webhook. Onderaan deze pop-up kun je een afspeelfunctie vinden.

<figure><img src="https://3977711974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5eC7lwaeygB0xx6AOZcE%2Fuploads%2FCDo3kUBZibUYHaRiCMdH%2Fimage.png?alt=media&amp;token=389981a5-ec2d-4ebb-a81b-2f5b1b3c8ca9" alt=""><figcaption></figcaption></figure>

Deze optie opent een invoerveld waarin je een GTM Server Preview-header moet invoeren. Om de preview-header te vinden, open je je GTM-servercontainer in voorbeeldmodus. Klik op de drie puntjes in de rechterbovenhoek en selecteer Handmatig verzoeken verzenden.

<figure><img src="https://3977711974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5eC7lwaeygB0xx6AOZcE%2Fuploads%2F4enPp2DSALnoqDrufIBt%2Fimage.png?alt=media&amp;token=e32b8e45-0987-45e8-b791-562b99dfa0b7" alt=""><figcaption></figcaption></figure>

Kopieer de HTTP-header x-gtm-server-preview en plak deze in het invoerveld voor het opnieuw afspelen van gematchte webhooks.

<figure><img src="https://3977711974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5eC7lwaeygB0xx6AOZcE%2Fuploads%2FZGYvKKGoQzZwnhImsXen%2Fimage.png?alt=media&amp;token=83a1fff5-b86c-4e60-9218-9deed63ff82d" alt=""><figcaption></figcaption></figure>

Klik op de knop Opnieuw afspelen en de gematchte webhook wordt opnieuw afgespeeld in je sGTM-voorbeeldmodus.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.adpage.io/faq/faq-nl/foutopsporing-monitoring/hoe-speel-ik-een-webhook-opnieuw-af-in-de-voorbeeldmodus.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
