APIs & Integrations

Dominic_Newland
Member

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

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

0 Upvotes
1 Reply 1
Dadams
HubSpot Employee
HubSpot Employee

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

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:

Get the Template by ID | COS Templates

GET /content/api/v2/templates/:template_id - Get the Template by ID


0 Upvotes