Create a form endpoint
create_formCreates a form endpoint for an existing site (siteId) and returns ready-to-use HTML: the action URL, a honeypot field and the hidden spam-check inputs are already included. The form receives submissions once that HTML is live on the site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | e.g. "Contact form" | |
| fields | Yes | ||
| siteId | Yes | ||
| successMessage | No | Text shown after a successful submission. |