There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Update an existing form

Last updated June 17, 2020

PUT /forms/v2/forms/:form_guid

Method Details

HTTP Methods:


Content Type:


Response Format:


Requires Authentication?


Rate Limited?






For a given portal, update an existing form in a given HubSpot portal. Forms are standard website forms that can be used to generate website leads.

For any form, there may be a set of fields associated with that form in question. You can specify all of the fields that you'd like to be a part of any form that you're updating with this API call.

You should also note that if you attempt to create a form with the same name as one that already exists, we will return a 409, as all forms should have a unique name.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
Form GUID Used in the request URL The unique ID fo the form that you're updating. When updating a form, you need to explicitly specify which form you're updating, which is what this field is for.
Form Data to Update Used in the request body The data for the form that you're creating. This can include any number of data points, including fields. For an example of this data, please see the JSON code sample for POSTing and creating a new form below.
Optional Parameters How to use Description
Form Fields Used in the request body When updating a form, you have the ability to also manipulate any of the form fields that you'd like to be a part of the form you're updating. Please note however, that if you specify fields in this call, it will override the fields that have already been set on this form. For instance, in the request that you see below, "Favorite Color" will now be the only field in the form, rather than being appended to the rest of the fields that already exist there. Before adding a field to a form, you'll need to make sure that there's a corresponding contact property. You can create a new property to house any fields with the create property method.

Example URL:

The response from this API call are standard REST-style HTTP response codes that mark success or failure, along with the JSON representing the form that you just updated. See below for a sample of this JSON output.

  • 200 when a form is updated.
  • 401 when an unauthorized request is made.
  • 500 when an internal server error occurs.