CMS Development

benji_thecroc
Contributor | Gold Partner
Contributor | Gold Partner

Get blog posts from two blogs using API

SOLVE

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
tjoyce
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Get blog posts from two blogs using API

SOLVE

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 😄


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

 

Drop by and say Hi to me on slack.

View solution in original post

1 Reply 1
tjoyce
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Get blog posts from two blogs using API

SOLVE

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 😄


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

 

Drop by and say Hi to me on slack.