> For the complete documentation index, see [llms.txt](https://docs.zapsign.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zapsign.com.br/zapsign-api/espanol/webhooks/probar-webhooks-en-zapsign.md).

# Probar webhooks en ZapSign

La disponibilidad y la cantidad de webhooks que puedes registrar dependen del plan, del mercado y de las condiciones de tu cuenta. Confirma la habilitación en Ajustes > Integraciones > API ZapSign y consulta la página oficial de Planes y Precios de tu mercado (<https://zapsign.co/es/planes-y-precios>). Para hacer pruebas sin configurar un servidor local, puedes usar Webhook.site para capturar y visualizar los eventos recibidos. Utiliza documentos ficticios y contactos de prueba: el receptor puede recibir datos de los firmantes y enlaces del documento.

### 1. Crea un webhook en Webhook.site

* **Paso 1:** Ingresa a [Webhook.site](https://webhook.site).
* **Paso 2:** En la página principal, verás una URL única generada automáticamente. Esta será tu endpoint para recibir los webhooks.

**Importante:** Mantén esta pestaña abierta, ya que aquí podrás visualizar los datos enviados por el webhook de ZapSign.<br>

<figure><img src="https://content.gitbook.com/content/5FrVBe47d9qwlLisqx07/blobs/cCb7r9YiIG1iSc1Ob2VE/image.png" alt=""><figcaption></figcaption></figure>

### 2. Configurando el webhook en ZapSign

* **Paso 1:** Accede a tu cuenta de ZapSign en el entorno de producción o sandbox.
* **Paso 2:** Dirígete a **Ajustes > Integraciones >  API ZapSign > Webhooks**.
* **Paso 3:** Agrega la URL generada por Webhook.site en el campo donde ZapSign solicita el endpoint del webhook. Define los eventos para los cuales deseas recibir notificaciones y haz clic en **"+"** para añadir la dirección.<br>

<figure><img src="https://content.gitbook.com/content/5FrVBe47d9qwlLisqx07/blobs/eLR6FH5dVWRQPAvfHkwT/image.png" alt=""><figcaption><p>Configuración de webhooks: confirma la disponibilidad y los límites de tu cuenta.</p></figcaption></figure>

### 3. Generando un evento en ZapSign

Crea un documento o genera un evento en ZapSign. Luego, revisa Webhook.site para verificar la solicitud POST recibida. En ella encontrarás todos los detalles del evento, como:

* ID del documento.
* Estado del documento.
* Payload completo con los datos enviados.

**Ejemplo de solicitud recibida en Webhook.site**

Cuando recibas la notificación, podrás visualizar de manera clara toda la información asociada al evento, facilitando el proceso de validación y prueba.

<figure><img src="https://content.gitbook.com/content/5FrVBe47d9qwlLisqx07/blobs/vB6O8jtLxo0BvRmmqGEj/image.png" alt=""><figcaption><p>Example of a webhook request received on webhook.site.</p></figcaption></figure>

En el próximo capítulo, exploraremos con más detalle cómo crear webhooks, tanto desde la interfaz web como mediante la API. 🚀


---

# 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.zapsign.com.br/zapsign-api/espanol/webhooks/probar-webhooks-en-zapsign.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.
