Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. how to build a webhook call within Lead Liaison
  2. how to receive a webhook call (build an endpoint)

Table of Contents

Building a Webhook Call within Lead Liaison

...

  • To receive data in the form of FORM/URL:
    • $data = $_POST;
  • To receive data in the form of JSON:
    •  $data = file_get_contents("php://input");
  • You can process this data as you wish. At the end of the script you must return the data in the same format as the Response Type 'JSON or XML'.
  • To test the Webhook follow these testing resources

Sample Scripts

Info
titleSample Script

See the sample endpoint script attached, written in PHP.

...