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 Parameter 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 include an offset equal to the number of forms you've already requested. For example, if your first request specified limit=10, your next request should include limit=10&offset=10. The request after that should include limit=10&offset=20, and so on and so forth.

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