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
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
| Name | Type | Description |
|---|---|---|
| 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 -X POST https://cotlet.dev/api/v1/formstack/forms/form_8c41d2/copy \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("formstack", "copy_form", {"form_id":"form_8c41d2"}) const result = await cotlet.call('formstack', 'copy_form', {"form_id":"form_8c41d2"}); cotlet call formstack copy_form --data '{"form_id":"form_8c41d2"}' Example response
{
"form_id": "5192046",
"name": "Autumn gala registration",
"folder": "Events",
"copied_from": "5128834"
}