Formcrest docs
A form backend for any HTML form. Point your form at our endpoint — we validate, filter spam, store, and email submissions to verified inboxes.
How it works
You bring the HTML. Your form POSTs to a Formcrest endpoint. We run spam checks, store the submission, and deliver it to the destination email addresses you've verified — then redirect the visitor (or return JSON for AJAX submissions).
Three steps to a working form
- Verify a destination email. In the dashboard, add the address that should receive submissions and click the confirmation link.
- Create a form. Give it a name; you'll get a unique endpoint URL like
https://api.formcrest.com/v1/submit/<formId>. - Point your HTML form at it. Set the
actionto your endpoint and add the hidden honeypot field:
<form action="https://api.formcrest.com/v1/submit/abc123" method="POST"> <input type="email" name="email" required /> <textarea name="message" required></textarea> <input type="text" name="_honey" style="display:none" tabindex="-1" autocomplete="off" /> <button type="submit">Send</button> </form>
On success the visitor is redirected to your form's success URL (or our default thank-you page). If the request sends Accept: application/json, you get a JSON response instead — see JavaScript (fetch).
Pick your setup
- Plain HTML — the simplest path, no JavaScript.
- JavaScript (fetch) — AJAX submissions with a JSON response.
- React & Next.js — the
@formcrest/sdkpackage and theuseFormSubmithook.
Next steps
- Configure your form — redirects, domain whitelist, multiple recipients.
- Spam protection — the honeypot and Cloudflare Turnstile.
- Submit API reference and error codes.