Form backend docs
Point any HTML form at SiteBackend: submissions, contacts, notifications and webhooks, file uploads, redirects and spam protection.
Pages
- Quickstart: collect form submissions in 2 minutesCollect your first form submission in about two minutes. Create a form, point your HTML form's action at its endpoint, and submit.
- Create and configure formsCreate a form in SiteBackend, copy its endpoint, and configure it - pausing, redirects, auto-replies, spam protection, file uploads and allowed origins.
- Submissions inboxRead, star, archive and export form submissions. How the inbox folders work, what's stored with each submission, and CSV export.
- ContactsSiteBackend turns everyone who submits a form into a contact on that site, with tags, notes and their full submission history.
- Notifications and webhooksSend each form's new submissions to email, Slack, Discord, Teams, Telegram, WhatsApp, Google Sheets or a signed webhook, with retries.
- Redirects and thank-you pagesChoose where visitors land after submitting - the built-in SiteBackend thank-you page, your own custom message, or any URL on your site.
- File uploadsAccept attachments on any form. Check uploads are on, add a file input and multipart encoding, and set size and type limits.
- Spam protectionHow SiteBackend keeps spam out - honeypot, content filter, rate limiting, and optional Cloudflare Turnstile, hCaptcha or reCAPTCHA.
- Allowed originsRestrict which websites can submit to a form. Allowed origins stop other sites from using your endpoint and set CORS headers.
Integration guides
Copy-paste form setups for your framework or site builder. They all work with fully static builds.
- Add a contact form to an HTML siteAdd a working contact form to a plain HTML site with SiteBackend - copy-paste form markup, spam protection and a thank-you page.
- Add a contact form to an Astro siteHandle Astro form submissions with SiteBackend. Works with fully static Astro builds - no server adapter or API route needed.
- Add a contact form to a Next.js siteAdd a contact form to Next.js with SiteBackend - a plain HTML form or a client component with fetch. Works with static export.
- Add a contact form to a Nuxt siteHandle Nuxt form submissions with SiteBackend. Works with static generation (nuxt generate) - no server routes needed.
- Add a contact form to a Hugo siteAdd a contact form to a Hugo site with SiteBackend using a partial and a site parameter. No server, works on any static host.
- Use SiteBackend with Webflow formsSend Webflow form submissions to SiteBackend by changing the form's action - keep Webflow's design and get SiteBackend's inbox and notifications.
- Submit forms with JavaScript (fetch)Submit to SiteBackend with fetch - send JSON or FormData, read the JSON response, and show success or error messages without a page reload.