splitforms.com

AI agent form backend

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

An AI agent form backend is the endpoint an agent-built form or chatbot posts leads to, so the agent never has to run a server. splitforms does it for Claude Code, Cursor, ChatGPT, and any other agent on any host: one endpoint stores each lead, filters spam, and emails your team, and a free MCP server reads leads back.

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

Key benefits

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.

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.

Step 1 of 5

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.

Step 2 of 5

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.

Step 3 of 5

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.

Step 4 of 5

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.

Step 5 of 5

Route leads automatically

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

You're all set ✓

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

Common questions

AI agent form backend FAQ.

Anything missing? Email us, we read every message.

A person reading answers to common questions
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.

Show 2 more questions
Can an agent get notified the moment a new lead arrives?

Yes, on paid plans. Signed with HMAC-SHA256 (sha256= signature header); 8-second timeout; an automatic retry after about 2 seconds, then scheduled retries at 1 minute, 10 minutes, 1 hour, 6 hours and 24 hours on network errors, timeouts, 429 and 5xx responses (other 4xx responses are not retried); delivery log in the dashboard. Paid plans (Pro and Annual).

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.

View all FAQs

Give your AI agent's forms a real backend.

Point any agent-built form at one endpoint — 500 leads a month free, spam filtered, stored, and emailed, with a free MCP server to read them back. No credit card required.

  • No credit card required
  • 500 free submissions
  • Setup in minutes
Two people celebrating a working contact form