Copy form

Copy a form into your own account, optionally under a new name.

POST https://cotlet.dev/api/v1/formstack/forms/{form_id}/copy

write Confirm

Makes a copy of the form in your own account, the same as Copy > My Account in the Forms tab. Formstack names it after the original with "- COPY" added; pass name to rename it. The copy lands in the original's folder and the original is not changed. It counts toward the form allowance of your plan, and a copy you do not want is deleted by hand in Formstack. Copying to another account is not part of this tool. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: copy_form
NameTypeDescription
form_id string required string Form ID from list_forms.
name string string Name for the copy. Default: the original name with "- COPY" added.

Request

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

Example response

JSON

{
  "form_id": "5192046",
  "name": "Autumn gala registration",
  "folder": "Events",
  "copied_from": "5128834"
}

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.