splitforms.com

AI agent form backend

AI agent form backend that turns agent-built forms into real leads.

Point any form or chatbot your agent builds at one endpoint — splitforms stores the lead, filters spam, and emails your team.

  • 500 free / mo
  • Free MCP server
  • Hosted endpoint
An AI agent posting a generated form's leads to the splitforms backend and MCP server

One endpoint

POST any agent-built form to a single stable submission endpoint — no server to run.

Spam filtered

A honeypot and a form_loaded_at time-trap block bots before they reach your inbox.

Free MCP server

Agents provision forms and read their own leads back through the free MCP server.

Form submission API

How AI agents post leads to a form backend.

The agent makes one call to the backend: it POSTs the collected lead to the submit endpoint with your access key. Read the leads back with the same token that powers the MCP server, all documented in the API docs.

Get your free access key
write-lead.ts
// From a chatbot/agent backend, after the lead is collected
await fetch("https://splitforms.com/api/submit", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    access_key: "YOUR_ACCESS_KEY",
    form_loaded_at: sessionStartedAt,
    name: lead.name,
    email: lead.email,
    message: lead.summary,
    source: "ai-agent",
    botcheck: ""
  })
});

Setup

How to connect an AI agent to a form backend.

Connecting an AI agent to a form backend takes three moving parts: a free access key, an agent-built form pointed at one endpoint, and the free MCP server or API to read leads back. No server, no build step.

Get a free access key

Sign up free and create a form in the dashboard, or ask the MCP create_form tool to provision one for you. splitforms generates the access_key automatically — no card required.

Point the agent-built form at splitforms

Set the form's method to POST and its action (or fetch URL) to https://splitforms.com/api/submit. Include the hidden access_key, an empty botcheck honeypot, and a form_loaded_at timestamp field.

Submit one real test lead

Fire a real submission and confirm it lands in the dashboard and your inbox. Email notifications to the form owner are free on every plan, including Free.

Read leads back into the agent

Call GET /api/submissions with a personal access token (Dashboard → MCP), or call the MCP list_submissions tool, so the agent can act on new leads without a human checking a dashboard.

Route leads automatically

On paid plans, add a signed webhook or a native integration — Google Sheets, Notion, Airtable, Slack, Discord, Telegram, WhatsApp, or Mailchimp — so leads move without polling.

What is a form backend?

What is an AI agent form backend, exactly?

An AI agent form backend is a single HTTPS endpoint that receives whatever form or chatbot an agent builds. splitforms is that endpoint: POST to https://splitforms.com/api/submit with your hidden access_key and it stores the lead, filters spam, emails your team, and can forward it through webhooks. Agents are good at producing markup — the operational backend still needs delivery, storage, routing, and abuse controls.

  • Generate HTML, React, Next.js, Vue, Astro, or Webflow forms from your agent
  • Owner notification emails on every plan, including Free
  • Auto-route leads to webhooks and integrations on paid plans
An agent-built form's submission received, filtered, stored, and routed to email, integrations, and webhooks

Quick start

Can Cursor or Claude Code build the form? Yes.

Paste one prompt into Cursor, Claude Code, or ChatGPT: tell it to POST a name, email, and message form to https://splitforms.com/api/submit with a hidden access_key, an empty botcheck honeypot, and a form_loaded_at timestamp. The agent writes the markup; splitforms receives it — no server, no build step. See the Next.js example for a full agent-generated form.

  • Agent-generated — Cursor, Claude Code, or ChatGPT writes the form
  • Spam filtered — the honeypot and time-trap block bots before your inbox
  • Works without JavaScript — submits as a plain HTML POST
An AI agent generating a contact form that posts to the splitforms backend

Read leads back

How do AI agents read form submissions back?

An agent reads its own leads with a personal access token — the same token that powers the MCP server. Call GET /api/submissions, or use the free MCP list_submissions tool, so the agent acts on new leads without a human checking a dashboard. Full auth and webhook signatures are in the API docs.

  • GET /api/submissions with a Bearer personal access token
  • Free MCP create_form, generate_form, and list_submissions tools
  • Signed HMAC-SHA256 webhooks on paid plans
Reading AI-agent-collected leads back from the splitforms dashboard and API

How SplitForms works

From form to workflow in 3 simple steps.

Connect your form, collect every submission, and send data where it needs to go — without building backend infrastructure.

A SplitForms contact form submission launching straight to your inbox

Add your endpoint

Point your form to your unique SplitForms endpoint. That's it.

HTML form pointing at a SplitForms submit endpoint

Receive submissions

We instantly capture and organize every submission in your inbox.

Submissions inbox with searchable leads and status pills

Route anywhere

Send data to email, spreadsheets, CRMs, webhooks, and 7,000+ apps.

Generic integration tiles for email, sheets, chat, CRM, automate, and webhook

No credit card required. Set up in under 60 seconds.

Connect & automate

Connect your favorite tools and automate everything

SplitForms works with the destinations you route to and the platforms you build on — from Slack and Sheets to WordPress, Shopify, and Next.js. And with Stripe connected, your forms can take payments too.

Connect your SplitForms form to Slack, Google Sheets, Mailchimp, Zapier and more
NewTake payments on your formsDeposits, bookings, order forms — submitters check out through Stripe and the money goes straight to your Stripe account. Included on every paid plan.See plans →

Trusted by indie teams and agencies shipping forms worldwide

PETAL/COKRAFT.DELINEAR-XBUILD.DEVSTUDIO 71MERIDIANFRAME&CO

Testimonials

Loved by developers shipping at every scale.

40 quotes on record — from indie hacks to agency migrations.

Common questions

AI agent form backend FAQ.

View all FAQs
What is an AI agent form backend?

It is the receiving layer for any form an AI coding agent generates, tests, or manages. The agent owns the UI; the backend owns everything after a visitor hits submit — validating the payload, blocking spam, storing each lead, notifying the form owner, and forwarding to webhooks. splitforms provides that layer so agent-built forms deliver leads instead of losing them to a prompt transcript.

Can Cursor, Claude Code, or ChatGPT build forms with splitforms?

Yes. Ask the agent to generate normal HTML, React, Next.js, Astro, Vue, or Webflow form code and point it at https://splitforms.com/api/submit with your access key.

Does splitforms support MCP?

Yes. The MCP server is free on every plan, including Free, and gives agents structured tools such as create_form, generate_form, and list_submissions — so an agent can provision a form and read its own leads without scraping documentation.

Is this only for chatbots?

No. It works for AI-generated website forms, AI chatbot lead capture, internal agent workflows, and LLM apps that need to collect structured contact or lead data.

How does an AI agent read submissions back out of splitforms?

Call GET https://splitforms.com/api/submissions with an Authorization: Bearer header set to your personal access token from Dashboard → MCP — the same token used by the MCP server. Filter with form, limit (up to 100), before, and since; the response returns { submissions, has_more }, and the endpoint allows 60 requests per minute.

Will splitforms rate-limit an agent that posts a lot of test submissions?

Yes. Each form accepts up to 6 submissions per minute per IP address, with a sustained cap of 20 per 15 minutes. Requests past that return HTTP 429, so have the agent back off rather than retry in a tight loop.

Can an agent get notified the moment a new lead arrives?

Yes, on paid plans. splitforms sends an HMAC-SHA256 signed webhook — the signature header value is prefixed sha256= — with an 8 second timeout and a single delivery attempt and no automatic retries, so point it at an endpoint that responds fast.

What field names should an agent avoid when it generates a form?

Skip access_key, subject, redirect, from_name, replyto, botcheck, and form_loaded_at as data fields — splitforms treats them as control fields and strips them from stored submissions. Use botcheck (or hp, trap, do_not_fill) only as the empty honeypot.

Simple pricing

Start free. Scale when you need more.

Choose a plan that fits your workflow — from a free form endpoint to full automations, exports, Stripe payments, and higher submission limits.

Free

$0
 

Free forever

Best for testing

For side projects and indie devs.

  • 500 submissions / mo
  • Unlimited forms
  • Email notifications included
  • Honeypot spam filtering
  • Submissions dashboard
  • MCP setup stays free
  • No credit card required

3-Year

$59/ first 3 years
was $99 · save 40% · new-user price

Pay $59. 3 years sorted.

  • 15,000 submissions / mo
  • Unlimited forms
  • Everything in Pro
  • $59 for 3 years, then $59/year
  • Long-term discount
  • Priority support included
  • Vote on the roadmap

No credit card required on Free • Cancel anytime