How to Automate Client Creation via API & Webhooks

Overview:
Streamline onboarding by pushing new client data from external systems (your website, billing platform) directly into Laywork.

Steps:

  1. Go to Settings → API & Webhooks.

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

  3. Under Webhooks, click New Webhook, select Client Created as the event, and enter your endpoint URL.

  4. From your external app, send a POST to
    https://app.laywork.com/api/clients
    with a JSON payload matching the Add form’s fields and your API key in the header.

  5. Verify new clients appear in Customer Management → Clients.

Tips & Best Practices:

Troubleshooting / FAQs: