Capture a lead
POST
/v1/leadsComing soonThis endpoint isn't live yet — requests to it return 404 today. The payload below is the planned contract and may change before it ships; watch the changelog.
Submit a lead from your own UI. MortgageMeter stores the row, fires the agent's notification preferences (email / inbox / push), and forwards to every configured CRM connector.
| Field | Type | Required | Description |
|---|---|---|---|
| agentId | string | yes | The agent the lead is for. |
| name | string | yes | Visitor full name. |
| string | yes | Visitor email (server-side validated). | |
| phone | string | no | Optional E.164-style phone number. |
| context | object | yes | Where the lead originated. |
| calcInputs | object | no | Calculator inputs the visitor entered. |
| calcResult | object | no | Computed result snapshot. |