Basic

Get a form definition

Retrieve details of a specific form in your HubSpot account using the form's unique identifier. This endpoint allows you to access information about a form, including its configuration and display options. You can also specify whether to include archived forms in the response.

get/marketing/forms/2027-03-beta/{formId}

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/marketing/forms/2027-03-beta/{formId}
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: forms

Path parameters

formIdstring required

Query parameters

archivedboolean

Whether to return only results that have been archived.

Response

successful operation

archivedboolean required
archivedAtstring date-time
createdAtstring date-time required
formType'hubspot' required
idstring required
namestring required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.