Lead webhook reference
One URL, unique to your workspace. POST lead JSON to it from anywhere and the lead lands on your board in seconds — automations fire, ad attribution is captured, and nothing in a form answer is ever lost.
https://adwixatlas.com/api/webhooks/leads/{token}{token} as a placeholder; your real URL never appears on this public site.Quick start#
curl -X POST "https://adwixatlas.com/api/webhooks/leads/{token}" \
-H "Content-Type: application/json" \
-d '{
"name": "Rahul Sharma",
"phone": "+91 98765 43210",
"destination": "Bali",
"source": "website"
}'{ "ok": true, "id": "3f7c2b9e-…" }Field reference#
The webhook is deliberately forgiving about key names, because every form tool names fields differently. Each Atlas field accepts several keys — the first match wins. Keys are case-insensitive. At least one of name, phone or email is required; everything else is optional.
| Field | Accepted keys | Notes |
|---|---|---|
| Name | name · full_name · customer_name · lead_name · first_name + last_name | first_name and last_name are joined when no single name key is present. |
| Phone | phone · phone_number · mobile · mobile_number · contact · whatsapp | Stored as sent. Question-style keys containing “phone”, “mobile”, “contact” or “whatsapp” also match. |
| email · email_address · e-mail | ||
| Destination | destination · city · place · location | Question-style keys containing “destination”, “where”, “going” etc. also match. |
| Budget | budget · amount · price | Digits are extracted — “₹1,50,000” becomes 150000. |
| Travellers | pax · travellers · travelers · persons · no_of_pax | The FIRST number in the answer is used — a range like “2-3” means 2, never 23. |
| Travel date | travel_date · travel_dates | Stored as given (“12 Aug 2026”, “August”, a range — all fine). Keys containing “when” or “departure” also match. |
| Source | source · lead_source · platform | Lower-cased to match your Settings → Lead Sources. Defaults to “meta” when omitted — always send it from website forms (e.g. "website", "google ads"). |
| Notes | notes · note · message · remarks · comments | Plus: every unmapped key in your payload is preserved in the lead’s notes, so a custom question is never lost. |
| Attribution | fbclid · fbc / _fbc · fbp / _fbp · source_url | Meta ad-click ids — see the Ad attribution guide. Optional but powerful. |
Full sample payload#
{
"name": "Rahul Sharma",
"phone": "+91 98765 43210",
"email": "rahul@example.com",
"destination": "Bali",
"budget": "150000",
"pax": "2",
"travel_date": "12 Aug 2026",
"source": "website",
"message": "Looking for a 5-night honeymoon package"
}What happens after 200#
— The lead appears on your board immediately, in the New stage.
— Your “New lead created” automations run: welcome WhatsApp, auto-assignment, follow-up scheduling — whatever you've built.
— If your Meta integration is connected, a server-side Lead conversion event is sent with any attribution ids you forwarded, so your ad account learns which ads produce real enquiries.
Duplicate guard (optional)#
Off by default; toggle it in Settings → Integrations. When on: if the same phone (last 10 digits) or email already has a lead from the past 30 days, the webhook logs an “enquired again” note on that lead instead of creating a second card, and responds with { "ok": true, "id": "…", "duplicate": true }.
Verifying your URL#
Open the URL in a browser — a friendly GET response confirms it's live without creating anything. Then send the curl above and watch the lead appear on your board.
