Updated March 2026
You describe a form as JSON. The API creates it, hosts it, validates submissions, and stores the data.
No drag-and-drop editor. No GUI. You send a JSON object with field definitions, and you get back a form URL and a submission endpoint.
Why would you want this? Because it is the web runtime for AI agents. An agent cannot click buttons in a drag-and-drop editor. But it can construct a JSON payload and call an API. Sutrena has both a REST API and an MCP server with 48 tools, so agents in Claude, Cursor, or any MCP host can create forms, deploy pages, read submissions, build dashboards, and set up webhooks.
The pattern: agent creates → human interacts → agent gets data back. Framework-agnostic. Three primitives: pages, forms, dashboards. The agent creates a form in one API call. Humans fill it. The agent reads submissions or gets webhook notifications.
For developers, reproducibility is the other win. Need the same feedback form for ten products? Loop and create ten forms with one script. Need to change a field label? Update the JSON.
API-first doesn't mean users see a raw API. Sutrena renders every form as a styled page at sutrena.com/f/{id}, and you get a two-line embed snippet for any website. Creation happens through the API. The user-facing form is still a polished HTML page.
curl -X POST https://sutrena.com/api/forms \
-H "Authorization: Bearer st_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Contact Form",
"fields": [
{ "name": "email", "label": "Email", "type": "email", "required": true },
{ "name": "message", "label": "Message", "type": "textarea", "required": true }
]
}'