Hi HubSpot,
Using the HubSpot API, i would like to get a list of BlogPost, filtered by name with kind of “contains”, not only the exact Title:
If y have many BlogPosts with similars titles like: My New Draft on Hubspot
I would like to be able to get all the BlogPost with a title which contains: “Draft”
I have checked the documentation: https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts
It says: name=>Returns the posts that match the name value. Supports exact, contains, icontains, ne lookups.
Nb. I am not using hapikey but oAuth authentification
So i have tried the following, but it works only if i give the exact title
https://api.hubapi.com/content/api/v2/blog-posts?name=Draft
I have also tried:
https://api.hubapi.com/content/api/v2/blog-posts?contains=Draft
or:
So i have also tried:
https://api.hubapi.com/content/api/v2/blog-posts?name_contains=Draft
But nothing returns me a result as i would expect.
Can you explain me how to use the “Contains” ?
Thank you for your help
Romain