# 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="/files/g0I6fZ94C0ORyLzNWoat" 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="/files/vIyAg5DCIluw3iR5pbc2" 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="/files/TmdqaQ1whyuhMEyLn4dl" 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.


---

# 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.zapsign.com.br/english/webhooks/testing-webhooks-on-zapsign.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.
