Formpost

Getting started

Quickstart

Go from zero to a working contact form in about ninety seconds.

Formpost turns any HTML form into a working contact form. Your form posts to our endpoint, we validate it, filter the spam, and email you the result. There is nothing to install and nothing to host.

1. Get an access key

Enter the address that should receive submissions on the home page. The key is issued immediately and emailed to you. A key is not a secret in the usual sense — it is safe to ship in public HTML, because it can only ever deliver mail to the address it was created for.

2. Add the form

contact.html
<form id="contact" action="https://api.formpost.ai/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY_HERE">

  <input type="text" name="name" placeholder="Your name" required>
  <input type="email" name="email" placeholder="Your email" required>
  <textarea name="message" placeholder="Your message" required></textarea>

  <!-- Spam trap: real people never see this field -->
  <input type="checkbox" name="botcheck" style="display:none" tabindex="-1" autocomplete="off">

  <button type="submit">Send message</button>
</form>

3. Submit it once

Fill in the form on your own site and press send. The message should reach your inbox within a few seconds, with reply-to already pointing at whoever filled it in.

Nothing arriving? Check your spam folder first, then read the Troubleshooting page — the endpoint returns a descriptive JSON error for every rejection.

Where to next

  • Options reference — every field the endpoint understands
  • Spam protection — honeypot, captchas, keyword rules, domain locking
  • Framework guides — worked examples for React, Next.js, Vue, and Astro