Lead capture form API
Lead capture form API for any website.
For developers: POST your lead form as HTML, JSON or multipart to https://splitforms.com/api/submit and every submission is stored, spam-filtered, and emailed to your team — no backend to build. Each form accepts 6 submissions per minute per IP. Free for up to 500 leads a month.
- 500 free a month
- No backend
- HTML or JSON

Key benefits
No lead form backend
The endpoint is the backend — no PHP, SMTP, or server route to build to receive your leads.
Spam-filtered leads
A honeypot, time-trap, and rate limits screen bots before a lead ever reaches your dashboard.
Instant lead email
Accepted leads are saved to the dashboard before owner notification email is attempted; delivery time and inbox placement depend on provider and recipient settings. Notifications are included on every plan.
Quick start
Your lead capture form, ready to paste.
Drop this into any page, point the action at the endpoint, and add your access key. That's the whole integration — no server, no build step.
Setup
How to connect a lead capture form to the API.
No server, no SMTP setup. These are the same six steps whether you paste the HTML form, build it in React or Next.js, or POST JSON from your own code.

Step 1 of 6
Get a free access key
Sign up free and build your form in the drag-drop dashboard, or just copy the HTML below. splitforms generates the access_key automatically — no card required.

Step 2 of 6
Add the required hidden fields
access_key identifies which form a submission belongs to. An empty botcheck honeypot and a form_loaded_at timestamp power the spam filtering — leave botcheck blank and set form_loaded_at when the page loads.

Step 3 of 6
Point the form at the endpoint
Set the HTML form's action to https://splitforms.com/api/submit with method POST — or POST a JSON body from your own code with the same fields. Multipart is supported for file uploads.

Step 4 of 6
Send one real test lead
Submit it and confirm it lands in the dashboard and your inbox. Email notifications to the form owner are free on every plan, including Free.

Step 5 of 6
Control what happens next
Use subject to customize the notification email's subject line, redirect to send the visitor to a thank-you page, and replyto so you can reply straight to the lead.

Step 6 of 6
Route leads further
On paid plans (Pro at $5/mo and Annual), add a signed webhook or a native integration — Google Sheets, Notion, Airtable, Slack, Discord, Telegram, or WhatsApp — so leads move without anyone checking the dashboard.
What the API does
What does a lead capture form API do?
A lead form only looks simple. The endpoint behind it has to receive the request, screen out spam, keep a copy, and get every lead to your team — reliably, on every submission. Need a specific lead type? See lead capture form templates for demo requests, waitlists, and lead magnets.
- Receive an HTML form action, a JSON fetch() call, or multipart file uploads — one endpoint, one access_key
- Filter bots with a honeypot, a form_loaded_at time-trap, per-form allowed-domains, and IP rate limiting
- Store every lead searchable in your dashboard, with CSV, XML, and PDF exports on paid plans
- Route each lead to your inbox on every plan, then a signed webhook or 1-click integration on paid plans

JSON API
Can you submit leads to the API as JSON?
Yes. Building the form yourself in React or Next.js, or capturing leads from a mobile app or backend job? POST a JSON body to the same endpoint instead of an HTML form — see the React form guide or the Next.js form guide.
- POST Content-Type: application/json from a SPA, mobile app, or serverless function
- Same endpoint and same access_key — multipart form-data is supported for file uploads
- Keep the empty botcheck honeypot and a form_loaded_at timestamp so spam filtering still runs

Destinations
Can you send every lead to your CRM?
On Pro ($5 per month) and above, each new lead flows into your CRM or team tools through a native one-click integration or a signed webhook. Slack, Google Sheets, and Mailchimp connect from the integrations dashboard; Salesforce, HubSpot, and Pipedrive connect through a signed webhook with an HMAC-SHA256 signature.
- Salesforce — create new leads automatically
- HubSpot — add contacts to your pipeline
- Slack — get instant lead notifications
- Google Sheets — append every lead as a new row

What is a lead capture form API?
A lead capture form API replaces the backend you would otherwise build to receive form submissions. splitforms is that hosted endpoint — https://splitforms.com/api/submit — it stores each lead, filters spam, emails your team, and can forward the data on to a webhook or CRM tool.
How do I connect a lead capture form to the API?
Set the form's action (or a fetch call) to https://splitforms.com/api/submit with method POST, add a hidden access_key field with your form's key, and include an empty botcheck honeypot plus a form_loaded_at timestamp field. Submissions appear in your dashboard and inbox immediately.
Can I submit leads as JSON instead of an HTML form?
Yes. POST a JSON body with Content-Type: application/json to the same endpoint — useful for single-page apps, mobile apps, or a serverless function that collects a lead before forwarding it. Multipart form data is also supported, for example when a lead attaches a file.
Can I send leads to my CRM or other tools?
Yes. On paid plans (Pro at $5/mo and Annual), Google Sheets, Notion, Airtable, Slack, Discord, Telegram, and WhatsApp connect with one click from the dashboard, and you can add a signed webhook that forwards each submission's JSON to Salesforce, HubSpot, Pipedrive, Zapier, Make, or n8n.
How much does a lead capture form API cost?
Free for up to 500 leads a month, with unlimited forms, email notifications, and spam filtering included. Pro is $5/month for 5,000 leads a month plus CSV/XML/PDF exports, webhooks, an auto-responder, CC/BCC and priority support. Annual is $49/year for 15,000 leads a month.
What happens after a visitor submits the lead form?
By default splitforms returns a JSON success response. Add a hidden redirect field with a URL to send the visitor to a thank-you page instead, and a subject field to control the notification email's subject line.
Show 2 more questions
Is the lead capture form API rate-limited?
Yes. Each form accepts up to 6 submissions per minute and 20 per 15 minutes, per IP address per form. Requests past that limit return HTTP 429.
What stops spam submissions from hitting the API?
An empty botcheck honeypot field, a form_loaded_at time-trap, server-side content heuristics, per-form allowed-domains with strict origin mode, and an optional reCAPTCHA v2 you can add with your own secret key.
Simple pricing
Start free. Upgrade when you need more.
Start capturing leads — free.
Paste one lead form, add your access key, and every submission lands in your inbox, dashboard, and CRM — 500 leads a month free, no credit card, no backend.
- No credit card required
- 500 free submissions
- Setup in minutes

