# sendm8
> sendm8 is a free, open-source form backend. Point any HTML form at a URL and get submissions by email, Discord, Slack, Telegram or webhook. No signup needed.
Quickstart: a working contact form, with no account and no API key. Replace `you@example.com` with the address that should receive submissions. The first submission emails that address a one-time confirmation link; later ones are delivered straight away.
```html
```
Key facts:
- Endpoint: `POST https://sendm8.com/f/{formId}`, or `POST https://sendm8.com/f/{email}` with no account (the owner confirms once by email).
- Send `Accept: application/json` to get JSON back. Success: `{ "ok": true, "id": "…" }`. Failure: `{ "ok": false, "error": { "code": "…", "message": "…" } }` with a 4xx or 5xx status.
- On a `/f/{email}` endpoint the owner hasn't confirmed yet, success also has `"pending": "confirmation"` and a `message` saying when the confirmation link was emailed (address masked): the submission is stored but not delivered until it's clicked. One link is sent per 24 hours, plus one reminder after three days if messages are waiting.
- Email endpoints refuse posts that claim to come from sendm8.com itself (`400 invalid_origin`), and forms without an account have a lower monthly submission cap than signed-in ones (lifted when the owner signs in with the same address); the owner is emailed as they near it.
- Special fields match Formspree: `_replyto` (or `email`), `_subject`, `_next`, `_gotcha`, `_cc`.
- React apps: `npm install @sendm8/react`. Same `useForm` and `ValidationError` as `@formspree/react`, field errors included. Also render one `` without a `field`, for errors that aren't about a field.
- Submissions go to the form's owner. sendm8 is not an API for emailing other people: in `/f/{email}` the address is the owner's, never a recipient's, and throwaway domains (yopmail, mailinator…) and reserved ones (example.com, *.test…) are refused. For invitations, receipts or password resets, use an email API such as Resend.
- Forms are created by a person in the dashboard at https://sendm8.com/app. There's no API key for creating forms.
## Docs
- [The basic form](https://sendm8.com/docs/basic-form.md): Point an HTML form at your endpoint, with examples for React, Vue, Astro and Next.js.
- [No signup: email in the URL](https://sendm8.com/docs/zero-signup.md): Use /f/you@example.com with no account, confirm once by email, and claim the form later.
- [Special fields](https://sendm8.com/docs/fields.md): Formspree-compatible underscore fields: _replyto, _subject, _next, _gotcha and _cc.
- [AJAX / fetch](https://sendm8.com/docs/ajax.md): Submit with fetch and Accept: application/json. Response shapes and every HTTP status code.
- [AJAX without writing JavaScript](https://sendm8.com/docs/ajax-helper.md): The /s/v1.js helper: data-sendm8 attributes, success and error messages, and events.
- [Redirects & thank-you page](https://sendm8.com/docs/redirects.md): Where visitors land after a normal post, and why _next has to stay on your own site.
- [Spam protection](https://sendm8.com/docs/spam.md): Honeypots, automatic spam scoring, Turnstile challenges and allowed domains.
- [File uploads](https://sendm8.com/docs/uploads.md): Accept files with multipart forms, size limits, and how files reach you.
- [Connect Discord](https://sendm8.com/docs/discord.md): Send every submission to a Discord channel with a webhook: no bot to host, a test button, and spam filtered out before anything is posted.
- [Connect Resend (BYOK)](https://sendm8.com/docs/byok.md): Send notification emails from your own domain with your own Resend API key.
- [Webhooks](https://sendm8.com/docs/webhooks.md): Receive submissions as signed JSON: payload, signature verification and retries.
- [Moving from Formspree](https://sendm8.com/docs/formspree.md): Migrate existing Formspree forms: URL changes, fetch and React code, and a prompt for AI assistants.
- [All docs in one file](https://sendm8.com/llms-full.txt): every section above, in order.
## Optional
- [Self-hosting](https://github.com/m8team/sendmate/blob/main/docs/self-hosting.md): run your own copy on Cloudflare.
- [Webhook payloads and signatures](https://github.com/m8team/sendmate/blob/main/docs/webhooks.md)
- [Pricing and fair-use limits](https://sendm8.com/pricing/)