create_form
Create a serverless form endpoint, add anti-spam protection, and get a public action URL plus HTML and Next.js snippets.
Instructions
Creates a new serverless form endpoint in Backforms and returns the public action URL along with ready-to-use HTML and Next.js code snippets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Descriptive name of the form (e.g. 'Landing Page Contact', 'Waitlist Signup') | |
| redirect_url | No | Optional custom URL to redirect users after successful submission | |
| honeypot_field | No | Name of the hidden honeypot field (default: 'botcheck') | |
| allowed_domains | No | Comma-separated list of allowed origin domains for CORS protection (e.g. 'mycompany.com, app.mycompany.com') | |
| honeypot_enabled | No | Enable built-in anti-bot honeypot protection (default: true) |