APIs & Integrations

nelsonamaya
Member

Hubspot API - List blog posts returns empty json

Hi, I'm using the Hubspot API to get a List of blog posts.

Currently I'm using it with one of my blogs under one of my accounts, and it works fine, this is the URL I'm using: https://api.hubapi.com/content/api/v2/blog-posts?hapikey=xxxxxx&content_group_id=xxxxxx&limit=3

However, I'm trying to use it with another blog from another account but it returns an empty json, what I'm doing wrong? Why is it returning an empty json if I have many posts published on this blog?

Thank you.

2 Replies 2
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Hubspot API - List blog posts returns empty json

Hi @nelsonamaya,

Can you include the full request you're making (without the hapikey) so that I can take a closer look at the specific blog in question?

0 Upvotes
nelsonamaya
Member

Hubspot API - List blog posts returns empty json

Don't worry, I already solved this issue.

Best regards,

Nelson.