Partial Match search via Forms via API

Is it possible to use the Hubspot APIs to perform partial / fuzzy search? For example, if I had a form named “My contact form”, is it possible to execute an API request which returns all Forms containing the term “contact”?

Currently I can only see a list of results using https://api.hubspot.com/forms/v2/forms

or an exact match using https://api.hubspot.com/forms/v2/forms?name=My contact form

Hello @Lancesh

use the HubSpot Forms API to perform partial/fuzzy search by sending a search query parameter in the API request.

To search for forms that contain the term “contact”, you can send the following API request

https://api.hubspot.com/forms/v2/forms?search=contact

This will return a list of all forms that contain the term “contact” in any part of their name or description.

Note that the search query parameter is case-insensitive and can match partial words or phrases. You can also use additional query parameters to filter or sort the results based on various criteria.

For more information on how to use the Forms API and its available parameters, you can refer to the HubSpot Forms API documentation:

Thanks @himanshurauthan

Your example does not appear to work for me. The `search` parameter appears to be completely ignored. I tested this by attempting a search for a string I know doesn’t exist in my data: https://api.hubspot.com/forms/v2/forms?search=xxxxxxx

This resulted in the same results as if the `search` parameter was omitted.

I also don’t see any mention of this parameter in the docs - which I believe are here: Accounts Dashboard | HubSpot

Am I missing something?