Duplicate form

Copy a form with all its settings, optionally under a new name.

POST https://cotlet.dev/api/v1/123formbuilder/forms/{form_id}/duplicate

write

Uses Duplicate in the form's menu in My Forms, which copies the form with all its settings, then renames the copy if you pass name. The copy counts toward your form limit. It reaches no one and you undo it by deleting the copy in the app, so it does not wait for your OK.

Parameters

Parameters: duplicate_form
NameTypeDescription
form_id integer required integer Form id of the form to copy, from list_forms.
name string string Name of the copy.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/123formbuilder/forms/1/duplicate \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("123formbuilder", "duplicate_form", {"form_id":1})
Node.js
const result = await cotlet.call('123formbuilder', 'duplicate_form', {"form_id":1});
CLI
cotlet call 123formbuilder duplicate_form --data '{"form_id":1}'

Example response

JSON

{
  "source_form_id": 5128977,
  "form_id": 5130021,
  "name": "Autumn open day",
  "active": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.