API v2.0

SendMyForm Documentation

Integrate form submissions into any project in minutes. Just point your form at an endpoint — we handle validation, spam filtering, and email delivery.

Quick Start

01

Create endpoint

Log in and create a new project to get your form endpoint URL.

02

Add to your form

Set your form's action attribute to your endpoint URL.

03

Get submissions

Receive every submission instantly in your inbox.

HTML
<form action="https://sendmyform.live/api/f/contact" method="POST">
  <input name="email" type="email" required />
  <button type="submit">Submit</button>
</form>

Your Form Endpoint

Endpoint URL

HTML
<!-- Add this to your website -->
<form
  action="https://sendmyform.live/api/f/[YOUR_FORM_ID]"
  method="POST"
  enctype="multipart/form-data"
>
  <input name="email" type="email" required />
  <button type="submit">Submit</button>
</form>

Request Format

JSON
{
  "email": "required",
  "name": "optional",
  "message": "any field — no strict schema required"
}

Accepts multipart/form-data

Accepts JSON payloads

No strict schema required

Usage Examples

MethodCode
HTML
<form action="/api/f/contact" method="POST">
  <input name="email" />
</form>
Fetch API
fetch("/api/f/contact", {
  method: "POST",
  body: JSON.stringify({ email: "test@test.com" })
})
cURL
curl -X POST https://sendmyform.live/api/f/contact \
  -d "email=test@test.com"

Email Delivery

Submissions sent instantly to your inbox

Custom themed email templates

Supports multiple fields dynamically

Security

Spam protection via honeypot fields

Rate limiting on all endpoints

Input validation with Zod schemas

Response Codes

HTTP Status Codes
Success200 OK
Invalid Data400
Not Found404
Server Error500
Platform Compatibility
Works on WordPress
Works on Framer / Webflow
Works on Wix
Works on custom sites

Redirect Behavior

After a successful submission, users are automatically redirected to the /success page. You can customize the redirect URL in your project settings.

Email Theme Previews

Every submission is delivered as a formatted email. Choose a theme that matches your brand from your dashboard settings.

email preview

New Submission

Contact Form

Full Name

James Potter

Email

james@achaialabs.tech

Company

Achaia Labs

Message

I need a reliable form backend for my portfolio. SendMyForm looks like exactly what I needed!

Timestamp

2026-04-06 14:25:33

Achaia Labs

Powered by SendMyForm

How It Works

01

Receive

Your form data arrives at our endpoint. It's validated instantly against expected types and checked for malformed input.

02

Filter

Spam bots are blocked via honeypot fields. Rate limiting prevents endpoint abuse. Only genuine submissions pass through.

03

Deliver

The submission is formatted with your chosen email theme and delivered to your inbox. Nothing is stored on our servers.

Why SendMyForm?

Single endpoint replaces an entire backend

Works with any frontend framework or language

No SDK, no lock-in, no configuration files

Supports multipart uploads and dynamic fields

Live in under 60 seconds — zero setup

Built-in email delivery with customizable themes

Common Use Cases

How to handle forms in a static site?

Static sites (HTML, Hugo, Jekyll) don't have a server to process form data. By using SendMyForm, you can handle contact forms, lead generation, and surveys without any backend code.

Integrating with React and Next.js

For modern React frameworks, you can use the standard form tag or create custom handlers with the Fetch API to POST data to your endpoint.

Adding a contact form to Webflow or Framer

SendMyForm is the perfect companion for no-code tools. Simply set your Webflow form's action URL to your SendMyForm project endpoint to start receiving submissions in your email.