Creating Your Own Webhook
This document covers some fundamental areas and provides sample code to help you create your own endpoint to receive a Lead Liaison webhook. In this guide we show you two parts:
how to build a webhook call within Lead Liaison
how to receive a webhook call (build an endpoint)
Building a Webhook Call within Lead Liaison
Go to Settings > App Setup > Webhooks > Add Webhook
In the Add New Webhook screen:
Example
Our test Webhook URL is: https://staging.leadliaison.com/test-scripts/webhook-sample.php
This script returns the data you will specify in the Template field. i.e: first_name=%%FirstName%%&last_name=%%LastName%%&company=%%Company%%&email=%%Email%%
Testing this Webhook will return the firstname, lastname, company and email of the Prospect used in the test.
Here's how the Webhook is configured:
Top Portion | Bottom Portion |
|---|---|