> ## Documentation Index
> Fetch the complete documentation index at: https://api.loanscape.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Setup

Webhooks are POST requests we send to an URL that you specify, to notify you of new or updated applications. After your server receives a webhook event, you can pass the `applicationId` to our [Fetch an aplication](/api-reference/endpoint/get_application) endpoint to fetch the latest data for that application.

You can set up webhooks in the [API/Webhooks section of your settings screen](https://app.loanscape.io/dashboard/settings/developers) on Loanscape.

**Webhook URL**: this is the URL that we will send POST requests to when an application is created or updated.

**Webhook secret (optional)**: this will be passed in the `WEBHOOK-SECRET` header of the POST requests. When processing requests from Loanscape, you should verify that the value matches. This verifies that the webhook is really being sent by Loanscape.

<Info>
  The webhook secret is unrelated to your API token - these can (and should) be different values.
</Info>

**Webhook events & fields to monitor**: choose which events should trigger webhooks, and which fields should trigger the `application_updated` event. You can uncheck fields that aren't important to you - then, updates to this field won't trigger a webhook or be mentioned in `fieldsUpdated`.
