Webhooks

Inbound webhook URL, authentication, and sending leads.

76 questions in this category

How do I create a webhook?

In LeadLock, the inbound webhook is usually one per account (or per integration). Go to Settings → Integrations or Webhooks. You’ll see the inbound URL and can copy it. If you can add “webhooks,” create one and copy its URL and secret.

Where do I find my webhook URL?

Settings → Integrations or Webhooks. The inbound URL is listed there. Use it in Make, Zapier, your form, or your own app to POST new leads.

How do I test a webhook?

Use curl or Postman: POST to your webhook URL with Content-Type: application/json and a body like {"name":"Test Lead","email":"test@example.com"}. Add the secret header if required. Check Leads to see if the lead was created.

Why is my webhook failing?

• 401: Wrong or missing secret header (e.g. x-make-secret). Use the value from Settings. • 400: Invalid or missing fields. Send at least the required fields (e.g. name) as JSON. • 404: Wrong URL. Use the exact URL from Settings. • 500: Server error; check LeadLock status or try again. Check your payload for invalid data.

Step-by-step: Create endpoint and send test payload

1. Go to Settings then Integrations or Webhooks. 2. Copy the inbound webhook URL and any secret. 3. Use curl or Postman: POST to the URL with Content-Type: application/json and a body like {"name":"Test Lead","email":"test@example.com"}. Add the secret header if required. 4. Check Leads to confirm the lead was created. 5. If you get 401, check the secret; 400 check required fields; 404 check the URL.

Payload structure and common errors

Send at least name. Include email, phone, company, source, message as needed. Valid JSON only. 401: wrong or missing secret. 400: invalid or missing fields. 404: wrong URL. 500: server error or invalid data; retry or simplify payload.

Need more help?

Ask the in-app assistant or contact us with your question.