How hmuform works

How hmuform works

hmuform is a contact form backend for static websites. Your HTML form posts to a form link, and we save the messages and email them to confirmed recipients.

Your site needs no backend, no server code and no API key: the HTML form posts each message straight to its form link. hmuform has a free plan. The plans are on hmuform.com/pricing.

An hmuform form link is the address that receives the messages of one form: https://hmuform.com/f/YOUR_FORM_ID. You put the form link in the action of your HTML form. Each form has its own form link.

  • The form link takes a POST with form data, multipart form data or JSON, from an HTML form, fetch or curl. It accepts requests from any website. The request, the responses and the limits are in Send a submission to a form link.
  • The form link is public, so it is safe in the code of your site. It emails only recipient addresses that are confirmed, so nobody can use it to send email to other people.

What happens to a message

When a visitor posts your form to its form link, hmuform does these steps:

  1. We check the message for spam on the server. The visitor solves no CAPTCHA. Spam goes to the Spam folder of the form, is not emailed and does not count toward the monthly limit.
  2. We save each message that is not spam in the inbox of the form. The message counts toward the monthly limit. A post that gets form_full is not saved.
  3. We try to deliver the message by email to each confirmed recipient of the form. A recipient address is confirmed after the person opens the link in the confirmation email and clicks Confirm my email. The sign-in address of each member of the workspace is confirmed at once and gets no confirmation email. When a send fails, we try again. When the email field holds a valid email address, the email has that address as Reply-To, so the recipient presses Reply to answer the visitor.
  4. The dashboard at app.hmuform.com shows each message with a delivery status for each recipient, for example Sent, Retrying or Failed. The owner of the workspace gets a daily email only on a day with something to report. The daily email lists the deliveries of the last 24 hours that failed after the last retry, or that we skipped because the address is not confirmed or unsubscribed, or because of the monthly limit or a plan limit. The list covers only messages in the inbox of forms that are not in Trash, and no tests. On the day that the workspace reaches 90% of its monthly limit, the daily email says so, even when it has no deliveries to list. Send deliveries again says when you can send a message again.

After an HTML form post that succeeds, the visitor sees our thank-you page, or the redirect that you set for the form. When the form link refuses an HTML post, the visitor sees an error page, for example “Message not sent”, with the reason. A request that does not ask for HTML, such as fetch or curl, gets the JSON answer { "ok": true }. Spam and posts with files add fields to this answer, and an error answers { "ok": false, "error": "<code>" }. The error codes are in Send a submission to a form link.

Over the monthly limit, we keep each message that we accept and do not email it. On the Free plan, the message is also locked: the dashboard and the API hide its content until an upgrade (see Read the submissions). When a workspace over its monthly limit gets too many messages in 24 hours, the form link answers 429 with form_full and saves nothing. The number is in Send a submission to a form link.

Add a contact form to a static website

Copy this HTML into a page of your site, and replace YOUR_FORM_ID with the ID of your form. The ID is the last part of the form link. The form link is on the Setup tab of the form in the dashboard.

contact.html
<form action="https://hmuform.com/f/YOUR_FORM_ID" method="POST">
  <p><label>Name <input name="name" required></label></p>
  <p><label>Email <input name="email" type="email" required></label></p>
  <p><label>Message <textarea name="message" required></textarea></label></p>
  <input name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">
  <button type="submit">Send</button>
</form>

Any field name works, and the email body shows each ordinary field with its name. email with a valid email address sets Reply-To. _gotcha is a hidden honeypot field: a value in it puts the message in Spam. The other field names with an effect are in Field names. The form works on any static host, for example Cloudflare Pages, Netlify, Vercel and GitHub Pages, because the browser sends the form straight to hmuform.

Get a form link

You get an hmuform form link in one of three ways: in the dashboard, from a coding agent, or with the API.

In the dashboard

  1. Click Get your form link on hmuform.com, or open app.hmuform.com.
  2. Enter your email. We send you a sign-in link. There is no password.
  3. Click New form. Give the form a name, for example the domain of your site, and choose where its messages go. Click Create form.
  4. The Setup tab of the form shows the form link and the HTML. Send a test from the Setup tab. A test does not count toward the monthly limit.

With a coding agent

Ask your coding agent (Claude Code, Codex, Cursor or another) to add a contact form with hmuform. The agent needs no account and no API key. It gets a form link from GET https://app.hmuform.com/api/forms/new-link, puts the form link in your form, and gives you an activation link in the chat. Open the activation link, sign in and click Turn on form. We make the form at the ID that your site already uses, always make one test message, and show the delivery result of the test. A limit or the state of a recipient can skip the delivery of the test, but not the test message. Until you click, the form link refuses each message with activation_required. The request and its response are in Set up a form with no account.

With the API

Make an API key in Settings in the dashboard, then make forms, choose recipients and read submissions at https://app.hmuform.com/api. Start with Get an API key and Make a form. The API key is a secret: never put it in the code of your site. The form needs only its form link.

Contact form questions

Question Section
Which field names have an effect? Field names
How does hmuform catch spam? Spam
Can a form send files? Files
What does hmuform do for GDPR? GDPR
How does a coding agent set up a form? For coding agents
How do I connect Claude, ChatGPT or Cursor to hmuform? MCP server
How do I send a test with the API? Send a test
What does an error code mean? Errors
How many messages does each plan include? Pricing

Each docs page is also in Markdown for coding agents: hmuform.com/docs.md for this page, hmuform.com/docs/mcp.md for the MCP server page, and hmuform.com/docs/api.md for the API page.

Get started

Reference