HubSpot CMS Pages icon

HubSpot CMS Pages

Interact with HubSpot CMS Pages API (Site Pages and Landing Pages)

Site Page → Update

AI-generated

Summary

Updates a HubSpot site page’s draft using the selected page ID and the fields supplied under Additional Fields. Sends a PATCH request to the page’s draft endpoint and returns HubSpot’s response.

Inputs

  • Page (required) — Select the site page to update.
  • Additional Fields (required) — Provide at least one field to update. Available fields include slug, domain, language, HTML title, meta description, featured image URL, campaign GUID, layout sections JSON, attached stylesheets JSON, public access settings, and publish state. Only supplied values are included in the update.

Output shape

A single item containing the HubSpot API response as JSON.

The operation errors if no update fields are provided. It updates the draft version; choosing State = Published is sent as a state value, while this operation does not call the separate publish endpoint.

Links

Discussion