Getting started

Documentation

Capture leads from every site you run, keep them in one place, and send them on to your team, your partners and your own code.

Start here

Pick the way in that fits how you like to work.

What 1DB is

One database and one endpoint for every website you run. A site’s forms post each submission to 1DB, which checks it, stores it with its campaign, links it to a contact and company, and sends it on. Each site also shows its domain, hosting, DNS, repository and traffic, so you can see which ones need attention. More on how it works.

  1. Step 1

    Your sites

    Any framework, any host. Each site has its own key and forms.

  2. Step 2

    One endpoint

    Every form posts to POST /v1/leads, or uses the hosted form script.

  3. Step 3

    Checked and stored

    Fields checked, repeats dropped, campaign kept, contact and company linked.

  4. Step 4

    Sent on

    Email alerts and webhooks per form, partner APIs for the organization.

One request

Every integration comes down to this. The key and form slug are on your website’s Integrate tab.

bash
curl https://gallant-goshawk-513.convex.site/v1/leads \
  -H "Content-Type: application/json" \
  -H "X-API-Key: 1db_YOUR_KEY" \
  -d '{"formSlug":"acme-contact","email":"jane@acme.com","message":"Hello"}'

AI agents can read /llms.txt first.

All docs