Capture a lead

POST/v1/leads
Coming 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.

FieldTypeRequiredDescription
agentIdstringyesThe agent the lead is for.
namestringyesVisitor full name.
emailstringyesVisitor email (server-side validated).
phonestringnoOptional E.164-style phone number.
contextobjectyesWhere the lead originated.
calcInputsobjectnoCalculator inputs the visitor entered.
calcResultobjectnoComputed result snapshot.