GET
/
cms
/
v3
/
pages
/
landing-pages
全てのランディングページを取得
curl --request GET \
  --url https://api.hubapi.com/cms/v3/pages/landing-pages \
  --header 'Authorization: Bearer <token>'
{
  "total": 123,
  "paging": {
    "next": {
      "link": "",
      "after": ""
    }
  },
  "results": [
    {
      "publishDate": "2023-11-07T05:31:56Z",
      "language": "af",
      "enableLayoutStylesheets": true,
      "metaDescription": "<string>",
      "attachedStylesheets": [
        {}
      ],
      "password": "<string>",
      "publishImmediately": true,
      "htmlTitle": "<string>",
      "translations": {},
      "id": "<string>",
      "state": "<string>",
      "slug": "<string>",
      "createdById": "<string>",
      "currentlyPublished": true,
      "archivedInDashboard": true,
      "created": "2023-11-07T05:31:56Z",
      "contentTypeCategory": "0",
      "mabExperimentId": "<string>",
      "updatedById": "<string>",
      "translatedFromId": "<string>",
      "folderId": "<string>",
      "widgetContainers": {},
      "pageExpiryRedirectId": 123,
      "dynamicPageDataSourceType": 123,
      "featuredImage": "<string>",
      "authorName": "<string>",
      "domain": "<string>",
      "name": "<string>",
      "dynamicPageHubDbTableId": "<string>",
      "campaign": "<string>",
      "dynamicPageDataSourceId": "<string>",
      "enableDomainStylesheets": true,
      "includeDefaultCustomCss": true,
      "subcategory": "<string>",
      "layoutSections": {},
      "updated": "2023-11-07T05:31:56Z",
      "footerHtml": "<string>",
      "widgets": {},
      "headHtml": "<string>",
      "pageExpiryRedirectUrl": "<string>",
      "abStatus": "master",
      "useFeaturedImage": true,
      "abTestId": "<string>",
      "featuredImageAltText": "<string>",
      "contentGroupId": "<string>",
      "pageExpiryEnabled": true,
      "templatePath": "<string>",
      "url": "<string>",
      "publicAccessRules": [
        {}
      ],
      "archivedAt": "2023-11-07T05:31:56Z",
      "themeSettingsValues": {},
      "pageExpiryDate": 123,
      "publicAccessRulesEnabled": true,
      "pageRedirected": true,
      "currentState": "AUTOMATED",
      "categoryId": 123,
      "linkRelCanonicalUrl": "<string>"
    }
  ]
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub無料ツール
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

必須スコープ

この API には、次のいずれかのスコープが必要です。
  • content

Authorizations

Authorization
string
header
required

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

Query Parameters

createdAt
string<date-time>

指定された時間ちょうどに作成されたランディングページのみを返します。

createdAfter
string<date-time>

指定された時間より後に作成されたランディングページのみを返します。

createdBefore
string<date-time>

指定された時間より前に作成されたランディングページのみを返します。

updatedAt
string<date-time>

指定された時間ちょうどに最後に更新されたランディングページのみを返します。

updatedAfter
string<date-time>

指定された時間より後に最後に更新されたランディングページのみを返します。

updatedBefore
string<date-time>

指定された時間より前に最後に更新されたランディングページのみを返します。

sort
string[]

結果の並べ替えに使用するフィールドが指定されます。有効なフィールドは「name」、「createdAt」、「updatedAt」、「createdBy」、「updatedBy」で、既定では「createdAt」が使用されます。

after
string

次の結果のセットを取得するためのカーソルトークン値。これはその他の結果が含まれるページ付けされたレスポンスの「paging.next.after」JSONプロパティーから取得できます。

limit
integer

返す結果の最大数。既定値は100です。

archived
boolean

削除済みのランディングページを返すかどうかを指定します。既定値は「false」です。

property
string

Response

successful operation

Response object for collections of pages with pagination information.