Docs
Submit URL
Every form has one URL. POST to it from anywhere: a plain HTML form, fetch, or a script. Any field names work.
Request
Send form data, multipart or JSON. Ask for JSON with an Accept header to stay on the page; leave it off and the visitor is redirected.
curl https://betterform.dev/f/k7m2x9 \
-H 'Accept: application/json' \
-d email=jonah@rise.bakery \
-d message='Logo and site for a bakery'Responses
303Location: your thank-you URLPlain HTML posts. Defaults to our thank-you page.
200{"ok": true}Accepted. JSON callers.
400{"ok": false, "errors": [...]}A field failed validation. Show the messages next to the form.
404{"ok": false, "error": "..."}No form at that URL.
429{"ok": false, "error": "..."}Too many submissions to this form. Try again shortly.
Spam
No captchas. Suspicious submissions are held in Spam instead of delivered, and nothing is deleted.
HoneypotAdd a hidden input named
bf_trap. People leave it empty; bots fill it.Allowed sitesList your domains and posts from anywhere else are held.
Repeat sendersBursts from one sender are held. We keep a hash of the IP, never the IP itself.