Get all forms from a portal

GET /forms/v2/forms

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

For a given portal, return all forms that have been created in the 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 will get all of the fields that are a part of any form as a part of the returned data from this API call.

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.
Optional Parameters How to use Description
Limit limit=
Used in the request URL
The number of records to return. Has no default; if ommitted, all forms are returned.
Offset offset=
Used in the request URL
Used to page through the results. If there are more records in your portal than the limit= parameter, you will need to use the offset returned in the first request to get the next set of results.

Example URL:  https://api.hubapi.com/forms/v2/forms?hapikey=demo