APIs & Integrations

Not applicable

Get the blog post for specific blog

SOLVE

Hi,

We created 2 blogs called 'Insights' and 'News'.
Earlier we were using following API url to fetch all blog posts: https://api.hubapi.com/content/api/v2/blog-posts?hapikey=*****&limit=8&state=PUBLISHED

But now when we are trying to get list based on content_group_id for 'News' as following https://api.hubapi.com/content/api/v2/blog-posts?hapikey=*****&content_group_id=6750911255&limit=8&s...

Its returning nothing.

Also I tried this https://api.hubapi.com/content/api/v2/blog-posts/6750911255?hapikey=*****&limit=8&state=PUBLISHED still its returning null.

Can you please suggest the correct query string for the url.

Thanks,
Sabita.

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Get the blog post for specific blog

SOLVE

Hi, @Sabita_Sahoo.

Happy to help. Did you open this topic as well? Please refrain from creating multiple topics for the same question. The Developer Support Team strives to respond to queries within two working days, so we'll get to the oldest topic first.

Using the content_group_id parameter is correct, but I'd like to check the results you receive myself. What is your Hub ID?

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
1 Reply 1
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Get the blog post for specific blog

SOLVE

Hi, @Sabita_Sahoo.

Happy to help. Did you open this topic as well? Please refrain from creating multiple topics for the same question. The Developer Support Team strives to respond to queries within two working days, so we'll get to the oldest topic first.

Using the content_group_id parameter is correct, but I'd like to check the results you receive myself. What is your Hub ID?

Isaac Takushi

Associate Certification Manager
0 Upvotes