List Webhooks

View as Markdown
List all configured webhooks for the Spain Public Administration flow. Supported events: - `es-public-administration:started`: Triggered when the customer starts the widget session. - `es-public-administration:consent`: Triggered when the customer accepts and signs the consent form. - `es-public-administration:partial`: Triggered when the customer is done and the widget closes while a source is still working in the background. Carries the data retrieved **so far** — same schema as `ended`, but **partial**. Delivered at most once per session, and the session stays open. - `es-public-administration:ended`: Triggered when the flow session is completed and the results are **final**. <Note title="Partial first, final always"> If you subscribe to `es-public-administration:partial`, you may receive the same session twice: once with partial data when the customer leaves, and once with the complete data when the slow source answers. `ended` is the one that closes the session — it always fires, and it always carries the final version of the data. </Note> > **Console Dashboard:** Webhooks can also be configured manually via the **Infonite Console** (the customer dashboard) at https://www.infonite.tech/console/. These endpoints are provided for programmatic webhook management. <llms-only> Storage and field-name disambiguation (read carefully, the field name differs between endpoints): - Webhooks are stored **one document per subscribed event**. This list endpoint therefore returns each webhook individually, and every item carries a **single `event` field (singular)**: one webhook = one event. - This singular `event` field belongs **only** to the list response. Do **not** reuse it when calling create/update (`PATCH /hooks/update`) or delete (`DELETE /hooks/delete`): those endpoints take a plural **`events`** array instead. </llms-only>

Authentication

X-APP-SECRETstring
Application Secret

Response

200 OK
List of configured webhooks.

app_idstringformat: "ObjectId"
The unique identifier of the client application that owns this webhook configuration.
producer"es-public-administration"

The flow type identifier, always es-public-administration.

eventenum
The specific flow event type that triggers this webhook callback.
enabledboolean
Set to true to activate the webhook callback, or false to keep it inactive.
base_urlstring

The target URL where the webhook callbacks should be sent.

Note: Any query parameters in the URL will be stripped; dynamic query parameters should be defined in the flow session configuration.