Clipform

Create a form from a template blueprint

Creates a fully populated form from a template node list. Each node is inserted with options, logic wiring, and auto-layout via the `createFormFromNodes` pipeline. The form is created as a draft (not live). No auth required. Requires `workspace_id` and at least one node.

POST
/forms/from-template

Request Body

application/jsonRequired
title
Required
string

Form title

Maximum length: 200
workspace_id
Required
string

Target workspace

Format: "uuid"
nodes
Required
array<object>
settingsobject
curl -X POST "https://api.clipform.io/v1/forms/from-template" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "string",
    "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
    "nodes": [
      {
        "type": "choice",
        "prompt": "string",
        "label": "string",
        "config": {},
        "options": [
          {
            "content": "string",
            "score": 0
          }
        ]
      }
    ],
    "settings": {
      "show_step_counter": true,
      "disable_back_navigation": true,
      "primary_color": "string",
      "background_color": "string"
    }
  }'

Form created from template

{
  "form_id": "46af4ef5-2c18-4098-9bc5-c048fb90b843",
  "share_id": "string",
  "viewer_url": "http://example.com"
}