Website pages

Retrieve all website pages

Changed on

Retrieve all website pages. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits.

get/cms/pages/2026-09/site-pages

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/pages/2026-09/site-pages
  • Auth
    • OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: cms.pages.site_pages.read
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: marketplace_validation
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: content

Query parameters

afterstring

The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.

archivedboolean

Whether to return only results that have been archived.

createdAfterstring date-time

Filter pages created after the specified date-time.

createdAtstring date-time

Filter pages by their exact creation timestamp. Format should be date-time.

createdBeforestring date-time

Filter pages created before the specified date-time.

limitinteger

The maximum number of results to display per page.

propertystring

Specify which properties to include in the response.

sortstring[]

Specify the order of the results. Accepts an array of strings.

updatedAfterstring date-time

Filter pages updated after the specified date-time.

updatedAtstring date-time

Filter pages by their exact update timestamp. Format should be date-time.

updatedBeforestring date-time

Filter pages updated before the specified date-time.

Response

successful operation

totalinteger required

Total number of pages.

Changes

    • info

      the security scope cms.pages.site_pages.read was added to the endpoint's security scheme oauth2

    • info

      the security scope content was removed from the endpoint's security scheme oauth2

  • 2026-09b8bba18c29f8Revision changes
    • info

      the security scope content was added to the endpoint's security scheme oauth2

    • info

      the security scope sitepages-read was removed from the endpoint's security scheme oauth2