What a webhook sends
Your workspace gives you a private webhook address and a secret key. Your LMS, or your developer, sends a POST request like this whenever a lead is created or changed:
POST https://<your-cortex-mail-webhook-address>
Content-Type: application/json
X-Cortex-Key: <your-secret-key>
{
"email": "[email protected]",
"first_name": "Asha",
"last_name": "Rao",
"phone": "9876500001",
"country_code": "+91",
"city": "Hyderabad",
"pincode": "500081",
"source": "Meta lead form",
"campaign": "Diwali offer",
"project": "Project A",
"stage": "New",
"owner": "[email protected]",
"consent": { "given": true, "source": "website form", "at": "2026-10-15T10:42:00+05:30" }
}
Only email is required. Unknown fields are kept as custom fields you can use in segments and emails.