Quick start
FormRelay is a form backend for static sites. Your page posts any HTML form to one address with a public access key, and the submission is emailed to the addresses you confirmed. You can also keep submissions in an inbox and send them to other tools.
Last updated
Send your first submission
- Create an account and confirm your email address. If you already have one, sign in.
- Create a form. It gets its own access key, and your sign-in address is its first recipient.
- Open the form's Install tab and copy the access key.
- Paste the form below into your page and replace
YOUR_ACCESS_KEYwith your key. - Send the form from your site. The submission arrives by email and in your inbox.
<form action="https://submit.formrelay.domodomu.com/submit" method="POST">
<input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
<input type="text" name="name" placeholder="Your name" required>
<input type="email" name="email" placeholder="you@example.com" required>
<textarea name="message" required></textarea>
<!-- Spam trap: people never see it, bots fill it in -->
<input type="checkbox" name="botcheck" style="display:none" tabindex="-1" autocomplete="off">
<button type="submit">Send</button>
</form>You can rename, add or remove fields. Every field arrives in the email under its name. The access key is public by design: it sits in your HTML and only lets people submit that form.
The Install tab shows the same code with your own key in it, and has a button that sends a test submission through real delivery.
What happens to a submission
- Your page posts the form to
https://submit.formrelay.domodomu.com/submit. - FormRelay checks it: the access key, the site it came from, the rate limits, the spam trap and, if you turned one on, the captcha.
- An accepted submission is queued, then emailed to every confirmed recipient and sent to each webhook and integration on the form.
- The browser is sent to your thank-you page, or your script gets a JSON answer.
In this documentation
- HTML forms: The form markup, the special fields and the limits.
- JavaScript and fetch: Send without leaving the page, and read the answer.
- Frameworks: React, Astro and anything else that can call fetch.
- Spam protection: The spam trap, allowed sites, rate limits and captchas.
- Email notifications: Who gets the email, how it reads, the autoresponder and routing.
- Webhooks and integrations: Signed JSON webhooks, Slack, Discord, Zapier, Google Sheets, Notion and Telegram.
- API and MCP: Read messages from your own code or an AI assistant.
- Data and privacy: How long submissions are kept, and how to delete them.
Questions that these pages don't answer: support@domodomu.com.
Something missing or wrong? Email support@domodomu.com. New to FormRelay? See what it does or start free.