Get blog posts from two blogs using API

SOLVE
Highlighted
Regular Contributor

Hi,

 

I was wondering if it was possible to pull blogs from two specific blogs within a hubspot account?

I've used this as a reference however seems I can only use one Group ID.

https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts

 

If I took the group ID out of the request URL would it pull all blogs from one account?

 

Thanks,

Benji

 

 

1 Accepted solution

Accepted Solutions
Regular Advisor | Gold Partner | HubSpot Certified Trainer

that is correct @benji_thecroc - https://api.hubapi.com/content/api/v2/blog-posts?hapikey=demo will retrieve blog posts from all of your blogs.


If this answer helped, please, mark as solved Smiley Very Happy


tim@belch.io | forms.belch.io | Design your own Beautiful HubSpot Forms; No coding necessary.

 

Drop by and say Hi to me on slack.

1 Reply
Regular Advisor | Gold Partner | HubSpot Certified Trainer

that is correct @benji_thecroc - https://api.hubapi.com/content/api/v2/blog-posts?hapikey=demo will retrieve blog posts from all of your blogs.


If this answer helped, please, mark as solved Smiley Very Happy


tim@belch.io | forms.belch.io | Design your own Beautiful HubSpot Forms; No coding necessary.

 

Drop by and say Hi to me on slack.