Blog Post Content


#1

Hi all - I must be missing something simple.
I want to retrieve the all the blog content from a particular group_id.

The total count is 546 blog posts, which is correct
{“total_count”: 546, “objects”: …

For some reason I am only able to generate 20 blogs using this method :
https://api.hubapi.com/content/api/v2/blog-posts?hapikey=my-api-key&state=PUBLISHED&content_group_id=2960196788

How can I adjust my API call so that the content of all 546 blog posts are being rendered ?


#2

@gitdavidhunter that endpoint supports a limit parameter that can be used to increase the number or returned objects. It defaults to 0 if it’s not included in the request URL.