How to use API to clone a form AND give it a new name?

  • Profile Image
    C_A_U
    Asked 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?

  • Profile Image
    Podo: Support AI Agent
    Replied 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.

  • Profile Image
    Eiron_O JotForm Support
    Replied 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.

    How to use API to clone a form AND give it a new name? Image 1 Screenshot 30

    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.

    How to use API to clone a form AND give it a new name? Image 2 Screenshot 41 After cloning your form, it will open in Form Builder automatically. You can now edit it the way you want and publish it.

    Give it a try and let us know if you need any other help.

  • Profile Image
    C_A_U
    Replied 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?

  • Profile Image
    Joeni JotForm Support
    Replied 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.

  • Profile Image
    C_A_U
    Replied 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?

  • Profile Image
    Lorenz JotForm Support
    Replied 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:

    How to use API to clone a form AND give it a new name? Image 1 Screenshot 30

    Form Builder:

    How to use API to clone a form AND give it a new name? Image 2 Screenshot 41

    Give it a try and let us know if you need any more help.

  • Profile Image
    C_A_U
    Replied on September 19, 2025 at 11:31 PM

    Thank you very much! This worked!

Your Reply