Add contact forms to your Next.js, Gatsby, or any static site without managing servers. Just POST to our API—we handle storage, notifications, and spam protection.
No backend setup. No server configuration. Just simple API calls.
Create a form in FlexSubmit dashboard. Copy your unique API endpoint. That's it.
https://api.flexsubmit.com/submit/your-form-idBuild your form UI with your framework of choice. POST the data to our endpoint.
// Next.js, React, Vue, Svelte - works with all
async function handleSubmit(e) {
e.preventDefault();
const formData = new FormData(e.target);
await fetch('https://api.flexsubmit.com/submit/your-form-id', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(Object.fromEntries(formData))
});
// Show success message
}Get instant email notifications. View all submissions in your dashboard. Export anytime.
Perfect for App Router or Pages Router. Use Server Actions or client-side fetch.
Add forms to your Gatsby site with zero build-time configuration needed.
Static or SSR—FlexSubmit works seamlessly with Astro's hybrid approach.
Pure static generators? No problem. Just add a script tag and you're done.
Keep your site lean. Forms don't need server-side processing anymore.
No framework? No problem. Works with vanilla HTML, CSS, and JavaScript.
FlexSubmit works regardless of where you host your static site:
Zero infrastructure to manage. We handle scaling, uptime, and security for you.
Built-in spam filtering keeps your inbox clean. No bot submissions cluttering your data.
Get email alerts the moment someone submits. Never miss a lead or contact request.
Design your forms exactly how you want. Match your brand perfectly with custom styling.
Global CDN ensures your forms submit quickly from anywhere in the world.
Simple REST API. Clear documentation. Works with any HTTP client or form library.
| Feature | Netlify Forms | Formspree | FlexSubmit |
|---|---|---|---|
| Pricing Model | Per submission | Limited free tier | Unlimited submissions |
| Works on Any Host | ✗ Netlify only | ✓ | ✓ |
| Custom Form UI | ✓ | Limited | ✓ |
| Dashboard Analytics | Basic | Basic | ✓ Advanced |
| API Access | ✗ | ✓ | ✓ |
| Spam Protection | ✓ | ✓ | ✓ |
Join thousands of developers using FlexSubmit for serverless contact forms. Start free, upgrade when you need to.
No credit card required • Free tier available • Setup in 60 seconds