Documentation
Send your first submission
Create an endpoint, paste it into your form, and receive the result in your dashboard and inbox.
Quick start
- Create a free account.
- Create a form from My Forms and copy its endpoint.
- Use the endpoint as the form action or JavaScript fetch URL.
- Submit a test message and verify it in the dashboard.
HTML
<form action="https://api.contactformx.com/f/YOUR_FORM_ID" method="POST">
<input name="name" required />
<input name="email" type="email" required />
<textarea name="message"></textarea>
<button type="submit">Send</button>
</form>JavaScript
const response = await fetch("https://api.contactformx.com/f/YOUR_FORM_ID", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ name, email, message }),
});
if (!response.ok) throw new Error("Submission failed");Available today
Email notifications, a dashboard submission inbox, rate limiting, honeypot support, and Pro email branding and redirects.