How to Automate Lead Capture with API & Webhooks

Overview:
Use Laywork’s API or webhooks to push lead data from external systems (e.g., landing pages, partner sites).

Steps:

  1. Go to Settings → API & Webhooks.

  2. Under API Keys, click Generate Key and copy it securely.

  3. In Webhooks, click New Webhook, select the Lead Created event, and enter your endpoint URL.

  4. From your external system, send a POST to https://yourdomain.com/api/leads with JSON payload and your API key in the header.

  5. Verify that incoming requests appear as new leads in Laywork.

Tips & Best Practices:

Troubleshooting / FAQs: