Adwix AtlasPlatform

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.

POSThttps://adwixatlas.com/api/webhooks/leads/{token}
Your webhook URL (with its secret token) lives in Atlas → Settings → Integrations → Lead Webhook — open it there and use the copy button. Docs pages always show {token} as a placeholder; your real URL never appears on this public site.

Quick start#

curl
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"
  }'
Success response — 200
{ "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.

FieldAccepted keysNotes
Namename · full_name · customer_name · lead_name · first_name + last_namefirst_name and last_name are joined when no single name key is present.
Phonephone · phone_number · mobile · mobile_number · contact · whatsappStored as sent. Question-style keys containing “phone”, “mobile”, “contact” or “whatsapp” also match.
Emailemail · email_address · e-mail
Destinationdestination · city · place · locationQuestion-style keys containing “destination”, “where”, “going” etc. also match.
Budgetbudget · amount · priceDigits are extracted — “₹1,50,000” becomes 150000.
Travellerspax · travellers · travelers · persons · no_of_paxThe FIRST number in the answer is used — a range like “2-3” means 2, never 23.
Travel datetravel_date · travel_datesStored as given (“12 Aug 2026”, “August”, a range — all fine). Keys containing “when” or “departure” also match.
Sourcesource · lead_source · platformLower-cased to match your Settings → Lead Sources. Defaults to “meta” when omitted — always send it from website forms (e.g. "website", "google ads").
Notesnotes · note · message · remarks · commentsPlus: every unmapped key in your payload is preserved in the lead’s notes, so a custom question is never lost.
Attributionfbclid · fbc / _fbc · fbp / _fbp · source_urlMeta ad-click ids — see the Ad attribution guide. Optional but powerful.
Nothing is dropped. Any key the mapper doesn't recognise is appended to the lead's notes as “question → answer”, so agents always see the complete enquiry exactly as the customer typed it.

Full sample payload#

POST body
{
  "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.