Getting started
Set it up with an AI agent
Submits.dev is invite only right now, so agents can't create forms yet. Create the form from your dashboard and give your agent its URL. Everything below about wiring up the form still applies.
If an AI coding tool builds your site, it can set up the form too. Cursor, Claude Code, Lovable,
Bolt and v0 all work. Paste this prompt and put your address in place of [YOUR_EMAIL]:
Add a contact form to my site and wire it up to Submits.dev. Read https://submits.dev/llms.txt, register an endpoint for my email [YOUR_EMAIL], and set the form action to the returned URL.
The home page has the same prompt behind the "Let your AI agent do it" tab, with a copy button.
What the agent does
- It reads /llms.txt, a plain-text guide written for agents.
- It creates your form with one request to
POST https://submits.dev/api/v1/endpoints. That request needs no API key. - It sets your form's action to the URL it gets back and adds the hidden
_gotchafield.
If your address already has forms, we email you an approval link instead, and the new form accepts nothing until you click it. That stops anyone else, agent or not, from adding live forms to your account.
You still have to click the verification link we email you. Until you do, the form holds up to 25 submissions without sending them, and if you don't verify within 7 days we delete it.
Creating a form from code
You can make the same request yourself:
curl -X POST https://submits.dev/api/v1/endpoints \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com", "name": "Contact form"}'
Besides email, you can send name, secondary_email,
google_sheet_url, custom_spam_rule and redirect_url.
The response includes the form URL and a ready-made form snippet.