Legacy vs Non-Legacy Form Identification in Form List API

When I hit the API endpoint https://api.hubapi.com/marketing/v3/forms/, I receive a list of all HubSpot forms.

Could anyone please let me know how to distinguish between legacy and non-legacy forms from this API response?

Hi @mohdisrarmwb ,

There’s no specific field in the HubSpot Forms API that explicitly labels a form as “legacy” or “non-legacy” (i.e., created using the old vs. new form builder). However, you can identify the difference by checking the formType field in the API response.

For more context, you can check out these related community discussions:
https://community.hubspot.com/t5/APIs-Integrations/Forms-API-Setting-to-Legacy/m-p/918573

https://community.hubspot.com/t5/APIs-Integrations/Is-there-a-way-to-distinguish-between-forms-created-with-new/m-p/1090217

Hope this helps!