# Cloning a form using api

**URL:** <https://community.hubspot.com/t/cloning-a-form-using-api/97007>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [January 3, 2024, 12:02pm UTC](https://community.hubspot.com/t/cloning-a-form-using-api/97007 "2024-01-03T12:02:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![okoula](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@okoula](https://community.hubspot.com/u/okoula)\
**Post date:** [January 3, 2024, 12:02pm UTC](https://community.hubspot.com/t/cloning-a-form-using-api/97007/1 "2024-01-03T12:02:09Z")

</div>

Hello, is there a way how to clone a form using api?  
In the api doc, I can see a form has the cloneable property

[https://legacydocs.hubspot.com/docs/methods/forms/forms\_overview](https://legacydocs.hubspot.com/docs/methods/forms/forms_overview)

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fmarketing-forms-v3%2Fguide)**

And on the UI, there’s the option to clone it manually

But I can’t seems to find any endpoint in the api doc, that would allow for this.

In our app, I see we have an endpoint defined for form cloning, namely: POST [https://api.hubapi.com/forms/v2/forms/{id}/clone](https://api.hubapi.com/forms/v2/forms/%7Bid%7D/clone)

But, when I call it, I get a 500 internal error with no further details.

Could this be a bug? Or maybe such an endpoint never existed? Thanks!

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [January 3, 2024, 3:26pm UTC](https://community.hubspot.com/t/cloning-a-form-using-api/97007/2 "2024-01-03T15:26:44Z")

</div>

Hi @okoula

search the form using this api -

 ![GRajput_0-1704295479153.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/7/d7b6bb43d3fed0f894909b3a38354d9affe90d94.png)

using this API you can create the form

 ![GRajput_1-1704295514837.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/b/2bdc0b8362815f13eacbf7f31baed9dfae543ab8.png)

For more reference you can refer to the link attached - ([CLCIK HERE](https://developers.hubspot.com/docs/api/marketing/forms))

Hope this will helps you out. Please mark it as **Solution Accepted & Upvote** to help other Community member.  
Thanks!
