# InputHaven — Full Reference > The most affordable form backend service. Collect form submissions from any website, get email notifications, fight spam with AI, route emails conditionally, build forms visually, and manage everything from a dashboard. ## What is InputHaven? InputHaven is a form backend as a service (FBaaS). You point your HTML form's action to our endpoint, and we handle submission storage, email notifications, spam filtering (including AI-powered detection), file uploads, webhooks, and more. No backend code required. Works with any frontend framework or static site. InputHaven is the most affordable alternative to Formspree, Getform, Basin, and Web3Forms. It offers 10x more free submissions than Formspree, includes API access on the free tier, and starts at $5/mo for 2,500 submissions — compared to $25/mo at Formspree for fewer submissions. ## Pricing | Plan | Price | Submissions/mo | Forms | Key Features | |------|-------|----------------|-------|-------------| | Free | $0/mo | 500 | 3 | Email notifs, spam protection, API access | | Starter | $5/mo | 2,500 | 25 | + File uploads, webhooks, CSV export, AI spam filter, email routing | | Pro | $12/mo | 10,000 | Unlimited | + Remove branding, priority support, 365-day retention | | Enterprise | $29/mo | 50,000 | Unlimited | + Unlimited team members, forever data retention | Yearly billing saves 20%: Starter $48/yr, Pro $108/yr, Enterprise $276/yr. ## API Endpoint POST https://inputhaven.com/api/v1/submit Accepts: - application/x-www-form-urlencoded - multipart/form-data - application/json Required: `_form_id` field in body or `X-Form-Id` header. Legacy `_access_key` and `X-Access-Key` also accepted. ### Response (JSON) ```json { "success": true, "submissionId": "clxxxxxxxx" } ``` ## Integration Examples ### HTML Form ```html
``` ### React ```jsx const handleSubmit = async (e) => { e.preventDefault(); const res = await fetch("https://inputhaven.com/api/v1/submit", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ _form_id: "YOUR_FORM_ID", name: "John", email: "john@example.com", message: "Hello!", }), }); const data = await res.json(); }; ``` ### Next.js (App Router) ```tsx "use client"; import { useState } from "react"; export function ContactForm() { const [status, setStatus] = useState(""); async function handleSubmit(e: React.FormEvent