### General

Webhooks make it possible to send information to any URL. Event-based webhooks let you send information every time one of the LoanPro events occurs. This is most used to notify applications programmed by customers when events occur in LoanPro. Here is some useful information to help you decide whether webhooks will meet your needs:

#### Events That Include a Webhook

• Insurance Updated
• Autopay Failed
• Autopay Scheduled/Created
• Loan Settings Updated
• Loan Promise Created
• Loan Collateral Updated
• Document attached to Account
• Credit Posted to Account
• Past Due Adjustment Posted to Account
• Change Due Date Posted to Account
• Funding Transaction Posted to Account
• Payment Posted to account
• Payment Reversed
• Loan Charge Posted
• Loan Charge Reversed
• Archive Account
• Delete Account
• Account Created
• Account Modified
• Account Activated
• Customer Logs into Customer Website
• Customer Created
• Customer Updated
• Employer Updated
• Agent User Created

Information That Can Be Sent in a Webhook Payload:

##### Format of a Webhook Payload:
{  "eventName": "Account Activated",  "context": {    "loan-display-id": "727",    "agent-full-name": "",    "source-company": "Smoke Test Co",    "status-stoplight": false,    "loan-create-time": "",    "status-days-past-due": 13,    "last-payment-amount": 0  }}

#### Setting Up a Webhook

To set up a webhook, navigate to Settings > Company > Notifications > Event Based Notifications.

Click edit to the right of the event for which you want to set up the webhook.

Make sure you are on the Webhook tab and that the webhook is enabled. Enter the URL you want to call into the “Callback URL” field.

If you want to restrict which loans can trigger this webhook, use the options in the “Restrictions” section to narrow which loans can trigger it.

Finally, enter the variables that will be sent to your chosen URL when the event occurs. Click HELP VARIABLES to search the available variables. Note that you will only need to enter the variable names (e.g. status-amount-due) and the listed variables should be separated by commas. When you are done, click  .

This  Webhook Site is a great resource for testing webhook functionality.

You also have the ability to see webhooks that have been triggered on an account in the Servicing > Notes/Alerts > SYSTEM NOTES section of the account.