Developer docsIntegration guide

Website leads API

Send your website's quote-form submissions straight into your Dax pipeline. One authenticated POST turns a visitor into a prospect the moment they hit submit.

How it works

Dax gives your agency a public lead endpoint and a secret key. Your website (or any form tool) sends a form submission to that endpoint; Dax creates a prospect in your pipeline, notifies your team, and matches the sender on any later email or text.

Set it up

1

Get your endpoint and key

In Settings → Website leads, copy your agency’s lead endpoint and generate a secret key. The key identifies your agency and can be rotated anytime.
2

Post your form to it

Point your form’s submit handler at the endpoint with a JSON body. Any fields you don’t have are simply omitted — only a name or email is required.
3

Watch it land in the pipeline

Each submission appears as a new prospect with its source tagged, ready to quote.

Example request

curl -X POST https://<your-dax-domain>/api/leads \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_AGENCY_KEY" \
  -d '{
    "first_name": "Jordan",
    "last_name": "Rivera",
    "email": "jordan@example.com",
    "phone": "614-555-0142",
    "line_of_business": "auto",
    "zip": "43017",
    "notes": "Looking to bundle auto + home"
  }'

A 200 response means the prospect was created. Keep your key server-side where you can; if a key is ever exposed, rotate it from the same settings screen and the old one stops working immediately.

Spam protection is built in

The endpoint is rate-limited and includes a honeypot field. For a high-traffic public site, add your own CAPTCHA in front of the form as well.

Need a hand wiring this up?

Every agency on the partner rollout gets white-glove setup. Just ask.

Get help