1. Knowledge Base
  2. API Documentation

Facebook Leads API

You can integrate Pabau by setting up a simple Webhook via Zapier (learn more about zapier here: www.zapier.com).

Step 1)

After creating a Zapier account, click 'Make a Zap'

Step 2)

Then search 'Facebook Lead Ads'.

Proceed to complete all other areas

Step 3) Now add another trigger called 'Webhook'

Next step select POST

Next proceed to complete below, entering the URL applicable for your account:

crm - https://crm.pabau.com/OAuth2/leads/lead-curl.php
pod - https://pabauclinic.pabau.me/OAuth2/leads/lead-curl.php

za leads guideADDITIONAL NOTE: Please make sure that the field names are the same as in the picture above in order to pass data correctly.

Also you will need to add one more field called api_key with a predefined value extracted from Pabau API keys page.

You're done! - After saving, please switch on your ZAP.

If you have any more problems, please consult Zapier support.

Did this answer your question?