-
C_A_UAsked on September 17, 2025 at 2:59 PM
Want to clone a form and rename it with something else. Can I do that with the clone API command, or do I have to make a separate aPI call?
-
Podo: Support AI AgentReplied on September 17, 2025 at 2:59 PM
Hi David,
Thanks for reaching out to Jotform Support. Let me help you with that:
To clone a form and give it a new name using the API, you typically need to perform two steps. First, use the clone API command to duplicate the form. Then, make a separate API call to update the cloned form's title or name to your desired new name.
This means you cannot rename the form directly in the clone API call; the renaming requires an additional API request.
If you need detailed instructions or code examples on how to do this, please let me know.
Give it a try and let us know how it goes.
-
Eiron_O JotForm SupportReplied on September 17, 2025 at 3:21 PM
Hi David,
You can also clone the form without using API keys. Cloning an Existing Form From a URL is easy. Let me walk you through it:
1. On your My Workspace page, click on Create on the top-left side of the page.
2. Select Form from the assets, and then click on Import Form.
3. In the next window, click on From a Web Page.
4. Paste the form link into the Enter URL field and click on Create Form.
Give it a try and let us know if you need any other help.
-
C_A_UReplied on September 18, 2025 at 3:11 PM
No, this needs to be done via API. What is the API call to change the form name?
-
Joeni JotForm SupportReplied on September 18, 2025 at 4:20 PM
Hi David,
Yes, you can clone a form using the Jotform API using the /form/{formId}/clone endpoint. That said, renaming the cloned form required a separate API call after cloning. You can use the API endpoint below:
POST https://api.jotform.com/form/{formId}/clone?apiKey={API_KEY}
This will create a clone of the form with the same name as the original. Once the form is cloned, you will receive with the new form's ID. To rename the form, you can use the API endpoint below:
POST https://api.jotform.com/form/{newFormID}
Here's the payload as form data:
{
"title": "New Form Name"
}
Alternatively, if you're using a cURL:
curl -X POST "https://api.jotform.com/form/{newFormID}?apiKey={API_KEY}" \
-d "title=New Form Name"
Give it a try and let us know how it goes.
-
C_A_UReplied on September 19, 2025 at 8:01 PM
Unfortunately, this isn't working for me. Are you able to test to see if this works on your end?
-
Lorenz JotForm SupportReplied on September 19, 2025 at 10:47 PM
Hi David,
After cloning the form using the clone form API call, you will need to perform another API request using the endpoint below:
https://api.jotform.com/form/{formID}/properties?apiKey={apiKey}
You can check out my results below.
Postman:
Form Builder:
Give it a try and let us know if you need any more help.
-
C_A_UReplied on September 19, 2025 at 11:31 PM
Thank you very much! This worked!
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!