Getting Started
Quickstart Guide
Get your first form endpoint running and accepting real submissions in under 30 seconds.
Formtruck turns any standard HTML form or JavaScript fetch request into a complete cloud backend with spam defense, Cloudinary file uploads, email alerts, and webhook relays.
No Backend Code Required: You don't need a server, PHP scripts, or SMTP mail servers. Just copy your endpoint URL and point your form action to it.
Step 1: Grab Your Form Endpoint
Create a form in your Formtruck Dashboard to generate your unique endpoint:
https://api.formtruck.com/f/ft_YOUR_FORM_IDPOST Endpoint
Step 2: Add Endpoint to HTML
Set the action attribute of your form to your Formtruck URL and use method="POST":
contact-form.html
12345678910111213141516<form action="https://api.formtruck.com/f/ft_YOUR_FORM_ID" method="POST"><!-- Required form inputs --><label for="name">Your Name</label><input type="text" id="name" name="name" placeholder="Sarah Connor" required /><label for="email">Email Address</label><input type="email" id="email" name="email" placeholder="sarah@example.com" required /><label for="message">Message</label><textarea id="message" name="message" placeholder="How can we help?" required></textarea><!-- Spam Honeypot (Invisible to human users) --><input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off" /><button type="submit">Send Message</button></form>
Step 3: Test Your Submission
Submit your form! Submissions will instantly appear in your Formtruck dashboard, notify your email recipients, and trigger any configured webhooks.
