Documentation
Everything is one HTTPS POST. These pages cover the fields that endpoint understands, the spam controls around it, and worked examples for the stacks people ask about most.
The endpoint
POST https://api.formpost.ai/submit
The whole integration
Add a hidden input with your access key and point the form action at us. That is the entire change to your site.
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>