Is it possible to update a sitemap with an API call?


#1

I want to dynamically change the sitemap of my site using some server side code, would it be possible to update my HubSpot site’s sitemap using an api call?

Thanks, Dominic


#2

Hi @Dominic_Newlands

Currently the sitemaps can only be updated through the HubSpot app.

What specifically in the menu are you trying to update? This may be something you could do in the template: