Developers

SumWize API

A simple read API to pull the leads your embedded calculators capture. Available on the Institution plan.

Authentication

Every request needs your API key (find it on your dashboard). Pass it as a query parameter or a bearer token.

Authorization: Bearer sk_your_key , or, ?key=sk_your_key

Get leads

GET /api/v1/leads?key=sk_your_key&since=0&limit=100

Returns leads captured by your embeds, newest first.

ParamTypeNotes
keystringYour API key (or use the Authorization header)
sincenumberUnix ms, only leads after this time
limitnumberMax rows (default 100, max 500)

Example response

{ "count": 1, "leads": [ { "id": "lead_ab12…", "calc": "mortgage", "name": "Jordan Lee", "email": "[email protected]", "company": "", "website": "", "message": "", "inputs": { "Home price": "450000", "Interest rate": "6.5" }, "created_at": 1750000000000 } ] }

cURL

curl "https://sumwizecalculators.com/api/v1/leads?limit=50" \ -H "Authorization: Bearer sk_your_key"
Rate limits and additional endpoints (usage analytics, webhooks management) are on the roadmap. Need something specific? Talk to us.