Skip to main content
Webhooks are POST requests we send to one or more URLs that you specify, to notify you of new or updated applications (including updated company profiles or licensing information). After your server receives a webhook event, you can pass the applicationId to our Fetch an aplication endpoint to fetch the latest data for that application, specifying the fields you need. You can set up webhooks in the API/Webhooks section of your settings screen on Loanscape. Webhook URL: this is the URL that we will send POST requests to when an application is created or updated. URLs must use https://. You can add up to 10 URLs - every event is sent to every URL, using the same secret and configuration. 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.
The webhook secret is unrelated to your API token - these can (and should) be different values.
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.