# Testing webhooks on ZapSign

You can register as many webhooks as you like.To facilitate webhook testing without having to configure a local server, tools like Webhook Site are a great option. They allow you to capture and visualize events received by the API quickly, helping with debugging and validating webhooks in real-time.

***

#### <mark style="background-color:blue;">1. Creating a Webhook in Webhook.site</mark>

* Step 1: Go to [Webhook.site](https://webhook.site).
* Step 2: On the homepage, you will see a unique URL automatically generated. This will be your endpoint to receive webhooks.

&#x20;Leave this tab open as this is where you will view the data sent by ZapSign’s webhook.<br>

<figure><img src="https://1401277393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4noMoX5ZGb2-RhWjjf-1703796690%2Fuploads%2FeuYeU0AYUwynV6HTTEKK%2Fimage.png?alt=media&#x26;token=44167abf-7c22-4668-8735-d6bab198e04f" alt=""><figcaption></figcaption></figure>

#### <mark style="background-color:blue;">2. Configuring the Webhook in ZapSign</mark>

* Step 1: Access ZapSign via [production](https://app.zapsign.co/acesso/entrar?lang=en\&hsCtaTracking=4edd8973-b121-4d30-afbd-31b31d410c11%7C08438d37-01e6-4986-b7a5-dd7709a36146) or [sandbox](https://sandbox.app.zapsign.com.br/acesso/entrar) environment.
* Step 2: Navigate to Settings > Integrations > ZapSign API > Webhooks.
* Step 3: Add the URL generated by Webhook.site in the field where ZapSign requests the webhook endpoint and define the events for which you want to receive webhooks. Click "+" to add the address.<br>

<figure><img src="https://1401277393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4noMoX5ZGb2-RhWjjf-1703796690%2Fuploads%2Fa3C1HEP4qxn7VW95RDOZ%2Fimage.png?alt=media&#x26;token=8944f112-96c8-4d80-b648-e46780e29044" alt=""><figcaption><p>You can register as many webhooks as you like.</p></figcaption></figure>

#### <mark style="background-color:blue;">3. Triggering an Event in ZapSign</mark>

Create a document or trigger an event in ZapSign, then check Webhook.site for the received POST request, which will contain all the event details, including document ID, status, and payload.

<figure><img src="https://1401277393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4noMoX5ZGb2-RhWjjf-1703796690%2Fuploads%2F0NHIUGEd5p0WmFbz8daE%2Fimage.png?alt=media&#x26;token=59730dcf-9787-4af1-93f1-66b78cb19d23" alt=""><figcaption><p>Example of a webhook request received on webhook.site.</p></figcaption></figure>

In the next chapter, we’ll go into more detail on how to create webhooks, both via the web interface and API.
