Basic

Retrieve a list of content domains associated with your HubSpot account. This endpoint allows filtering by creation and update timestamps, sorting, and pagination. It is useful for managing and reviewing the domains configured in your CMS.

get/cms/domains/2026-09

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/domains/2026-09
  • Auth
    • OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: cms.domains.read
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: content
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: cms.domains.write
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: cms.knowledge_base.settings.read
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: cms.knowledge_base.settings.write

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 results to include only domains created after the specified date and time. Format should be date-time.

createdAtstring date-time

Filter results by the exact creation date and time of the domain. Format should be date-time.

createdBeforestring date-time

Filter results to include only domains created before the specified date and time. Format should be date-time.

limitinteger

The maximum number of results to display per page.

sortstring[]

Specify the fields by which to sort the results. Accepts an array of strings.

updatedAfterstring date-time

Filter results to include only domains updated after the specified date and time. Format should be date-time.

updatedAtstring date-time

Filter results by the exact update date and time of the domain. Format should be date-time.

updatedBeforestring date-time

Filter results to include only domains updated before the specified date and time. Format should be date-time.

Response

successful operation

totalinteger required

The number of available results.

Changes

  • 2026-091d4cd9864d3aRevision changes
    • info

      the security scope cms.domains.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-09170e068a8c75Revision changes
    • info

      the security scope cms.domains.write was added to the endpoint's security scheme oauth2

    • info

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