Get all forms from an account

Last updated June 17, 2020

GET /forms/v2/forms

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

Required Scope:

forms

This endpoint is used to return all forms that have been created in an account. Forms are standard tools that can be used to generate website leads.

Use case for this endpoint: This might be useful for an integration featuring an external form builder. You might use this endpoint to get a current form to modify in that builder.

Response details

For any form, there may be a set of associated fields, which you'll get as part of the returned data.

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 account 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.
FormTypes formTypes=
Used in the request URL
By default non-marketing forms are filtered out of this endpoint. To request all forms, use this parameter with the value of ALL (case sensitive).

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