create_form
Build a form and get its submission endpoint URL. Configure fields, templates, notifications, and redirects for your workspace.
Instructions
Create a form. Returns the endpoint URL to POST submissions to. The notification address gets a verification email automatically; notifications are held until the owner confirms it. Pass either fields (array of {name,label,type,required}) or a template slug, or neither for name/email/message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Shown in the dashboard, e.g. 'Website contact'. | |
| orgId | No | Workspace id. A paired agent key defaults to its own workspace and may omit this; a classic API key must pass one of the orgId values that list_forms returns. | |
| fields | No | Explicit field definitions. | |
| hosted | No | Also publish a hosted page at formward.eu/s/... (no code needed). | |
| template | No | Template slug from list_templates. | |
| notifyEmail | Yes | Where submission notifications go. | |
| redirectUrl | No | Thank-you page after a classic POST. | |
| allowedOrigins | No | Site origins allowed to submit, e.g. https://example.com. | |
| successMessage | No |