Pular para o conteúdo principal
GET
/
cms
/
v3
/
pages
/
site-pages
Obter todas as Páginas do site
curl --request GET \
  --url https://api.hubapi.com/cms/v3/pages/site-pages \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "abStatus": "automated_loser_variant",
      "abTestId": "<string>",
      "archivedAt": "2023-11-07T05:31:56Z",
      "archivedInDashboard": true,
      "attachedStylesheets": [
        {}
      ],
      "authorName": "<string>",
      "campaign": "<string>",
      "categoryId": 123,
      "contentGroupId": "<string>",
      "contentTypeCategory": "0",
      "created": "2023-11-07T05:31:56Z",
      "createdById": "<string>",
      "currentState": "AUTOMATED",
      "currentlyPublished": true,
      "domain": "<string>",
      "dynamicPageDataSourceId": "<string>",
      "dynamicPageDataSourceType": 123,
      "dynamicPageHubDbTableId": "<string>",
      "enableDomainStylesheets": true,
      "enableLayoutStylesheets": true,
      "featuredImage": "<string>",
      "featuredImageAltText": "<string>",
      "folderId": "<string>",
      "footerHtml": "<string>",
      "headHtml": "<string>",
      "htmlTitle": "<string>",
      "id": "<string>",
      "includeDefaultCustomCss": true,
      "language": "af",
      "layoutSections": {},
      "linkRelCanonicalUrl": "<string>",
      "mabExperimentId": "<string>",
      "metaDescription": "<string>",
      "name": "<string>",
      "pageExpiryDate": 123,
      "pageExpiryEnabled": true,
      "pageExpiryRedirectId": 123,
      "pageExpiryRedirectUrl": "<string>",
      "pageRedirected": true,
      "password": "<string>",
      "publicAccessRules": [
        {}
      ],
      "publicAccessRulesEnabled": true,
      "publishDate": "2023-11-07T05:31:56Z",
      "publishImmediately": true,
      "slug": "<string>",
      "state": "<string>",
      "subcategory": "<string>",
      "templatePath": "<string>",
      "themeSettingsValues": {},
      "translatedFromId": "<string>",
      "translations": {},
      "updated": "2023-11-07T05:31:56Z",
      "updatedById": "<string>",
      "url": "<string>",
      "useFeaturedImage": true,
      "widgetContainers": {},
      "widgets": {}
    }
  ],
  "total": 123,
  "paging": {
    "next": {
      "after": "<string>",
      "link": "<string>"
    }
  }
}

Produtos suportados

Requer um dos seguintes produtos ou superior.
Marketing HubMarketing Hub -Grátis
Sales HubSales Hub -Grátis
Service HubService Hub -Grátis
Content HubContent Hub -Grátis

Autorizações

Authorization
string
header
obrigatório

The access token received from the authorization server in the OAuth 2.0 flow.

Parâmetros de consulta

after
string

O valor do token do cursor para obter o próximo conjunto de resultados. Você pode obter esse valor da propriedade JSON "paging.next.after" em uma resposta paginada que contém mais resultados.

archived
boolean

Especifica se deve retornar Páginas do site excluídas. O padrão é "false".

createdAfter
string<date-time>

Retorne apenas Páginas do site criadas após o horário especificado.

createdAt
string<date-time>

Retorne apenas Páginas do site criadas exatamente no horário especificado.

createdBefore
string<date-time>

Retorne apenas Páginas do site criadas antes do horário especificado.

limit
integer<int32>

O número máximo de resultados a serem retornados. O padrão é 100.

property
string

Especifica quais propriedades das páginas do site devem ser incluídas na resposta.

sort
string[]

Especifica quais campos usar para classificar os resultados. Os campos válidos são "name", "createdAt", "updatedAt", "createdBy", "updatedBy". O campo "createdAt" será usado por padrão.

updatedAfter
string<date-time>

Retorne apenas Páginas do site atualizadas pela última vez após o horário especificado.

updatedAt
string<date-time>

Retorne apenas Páginas do site atualizadas pela última vez exatamente no horário especificado.

updatedBefore
string<date-time>

Retorne apenas Páginas do site atualizadas pela última vez antes do horário especificado.

Resposta

successful operation

Response object for collections of pages with pagination information.

results
object[]
obrigatório

Coleção de páginas.

total
integer<int32>
obrigatório

Número total de páginas.

paging
object

Model definition for forward paging.

Last modified on December 8, 2025