# Webhooks

#### ¿Qué son los Webhooks?

Los Webhooks son notificaciones automáticas que B2Chat envía a tu sistema en tiempo real cada vez que ocurre un evento dentro de una conversación — como un mensaje recibido, una transferencia de agente o un cambio de estado.

En lugar de que tu sistema consulte constantemente a B2Chat para saber si hay novedades, los Webhooks hacen el trabajo por ti: B2Chat te avisa en el momento exacto en que algo sucede.

#### **¿Qué puedes hacer aquí?**&#x20;

{% stepper %}
{% step %}

### Registrar

Recibe los eventos de B2chat
{% endstep %}

{% step %}

### Consultar

Verifica los eventos que ya tienes configurados
{% endstep %}
{% endstepper %}


---

# 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://b2chat.gitbook.io/b2chat-api-transferencia/nuestros-servicios/webhooks.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.
