Hello,
Thank you for contacting LeadSquared Support!
For all new webhooks to configure in Leadsquared, we need to ensure below points are met. Please talk to developer from customer side and request them to check the below points are met and then try creating webhook in leadsquared, it should work.
Do confirm if the below checks are satisfied
- Webhook URL shouldn’t be IP restricted
- The webhook URL should be browsable OR has to be reachable via HEAD or POST i.e We use a HTTP HEAD request to check if the url is accessible and reachable from our servers. It is a standard method used for a fast link verification.
- If you allow the HEAD verb on your application, then it can pass our verification test.
As a part of security verification and SSRF protection we validate a webhook URL when it is configured. The method of verification is :
Make a HEAD request to the URL
Make a POST request to the URL with an empty request body - At least one of the above requests should give a 200 OK response to validate the webhook. After the webhook is validated it will start processing requests.
If the customer is able to provide a 200 OK response during the time of configuration of the webhook, it should work fine.
Regards,
LeadSquared Support
