There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

Get a form by its unique ID

Last updated November 20, 2023

GET /forms/v2/forms/:form_guid

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

For a given account, return a single formbased on the unique ID of that form.

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 will get all of the fields that are a part of any form as a part of the returned data from this API call.

Example URL:  https://api.hubapi.com/forms/v2/forms/1234-5678-1234567-3456789

Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.
Form GUID Used in the request URL (see URL example below) The Form unique ID for the form that you're requesting in your API call.
Optional Parameters How to use Description
None None No optional parameters for this method.