I’m trying to get which pages (site pages, landing page and blog posts) are in the site map, just like it is in the UI https://app.hubspot.com/settings/4*****7/marketing/domains/sitemaps/www.***.***, throught the site-maps api “/content/api/v2/site-maps”. The api returns the site maps and there the fields “blog_posts”, “site_page” and “landing_page” are empty.
Shouldn’t these fields have the Id of the pages? All i have is Ids in “video_metas” and “image_metas”.
Thank you @sharonlicari for the late reply. I wasnt able to resolve the issue. As the json i posted before shows, the fields blog_posts, landing_pages and site_pages are empty arrays. Shouldn’t it have the pages i have in the site map in it?
Happy to help here. I’d like to try and replicate this behavior, but your email doesn’t appear associated with a HubSpot account.
Could you share the full request URL with me via DM? Please obscure all but the first five characters of your hapikey.