Send ad leads to any URL endpoint as custom JSON or query parameters -- with configurable HTTP methods, authentication, and payload templates for maximum flexibility.
Connect Webhook with 4 lead sources
The Webhook destination is the universal escape hatch -- if a system you use is not one of LeadSync's native integrations, you can almost certainly hit it via webhook. Configure a destination URL, pick the HTTP method (POST, PUT, PATCH, GET, or DELETE), define the payload structure, and LeadSync will deliver each Facebook, Google, LinkedIn, or TikTok lead to that endpoint within seconds of form submission.
Common targets: internal company APIs that accept lead data, niche CRMs without a dedicated LeadSync integration, low-code automation platforms (n8n, Pipedream, custom Lambda functions), Slack incoming webhooks (when you want raw control over the payload), Discord channels, custom logging endpoints. If it accepts an HTTP request, you can route LeadSync leads to it.
The webhook destination supports three standard authentication schemes: Bearer token (Authorization: Bearer ... header -- the modern OAuth standard), Basic auth (Authorization: Basic base64(user:pass) -- common for legacy APIs), and API key in header (X-API-Key: ... or any custom header name your endpoint expects).
For more complex auth flows (HMAC signatures, mutual TLS, OAuth client credentials), the recommended pattern is to put a thin proxy in front of your real endpoint -- a Cloudflare Worker, a small AWS Lambda, or a single-function Vercel route -- that handles the complex auth and forwards a clean request to your final destination.
The webhook payload is a template you define -- write the exact JSON (or query-string) structure your endpoint expects, with placeholder tags that LeadSync substitutes with the lead form values. This means you can match any API's expected schema without writing a transformation layer in between.
Example: a custom CRM expects a flat JSON like {"contact": {"email": "...", "first_name": "..."}, "source": "facebook"} -- write that as your payload template with placeholders for email and first_name, and every lead arrives at the CRM in exactly the right shape.
Set up your Webhook integration in under 60 seconds. Free 14-day trial, no credit card required.
Start Your Free Trial