GET
/
content
/
api
/
v2
/
pages
/
{page_id}
Get the Page by ID
curl --request GET \
  --url https://api.hubapi.com/content/api/v2/pages/{page_id}
{
  "ab_status": null,
  "ab_test_id": null,
  "analytics_page_id": "352531415",
  "archived": false,
  "attached_stylesheets": [],
  "author_user_id": 100307,
  "blueprint_type_id": 0,
  "campaign": null,
  "campaign_name": null,
  "cloned_from": null,
  "compose_body": null,
  "created": 1381896129000,
  "css": {},
  "css_text": "",
  "current_live_domain": "62515.hs-sites.com",
  "deleted_at": 0,
  "deleted_by": null,
  "domain": "",
  "enable_domain_stylesheets": true,
  "enable_layout_stylesheets": true,
  "featured_image": "",
  "featured_image_alt_text": "",
  "flex_areas": {},
  "folder_id": null,
  "footer_html": "",
  "freeze_date": 1424373283000,
  "has_smart_content": false,
  "has_user_changes": true,
  "head_html": "",
  "html_title": "The API Test Page",
  "id": 352531415,
  "include_default_custom_css": null,
  "is_draft": false,
  "keywords": [],
  "language": null,
  "last_edit_session_id": null,
  "last_edit_update_id": null,
  "legacy_blog_tabid": null,
  "meta_description": null,
  "meta_keywords": null,
  "name": "Contact Us",
  "page_expiry_date": null,
  "page_expiry_enabled": null,
  "page_expiry_redirect_id": null,
  "page_expiry_redirect_url": null,
  "page_redirected": null,
  "password": null,
  "performable_url": null,
  "personas": [],
  "portal_id": 62515,
  "publish_date": 1424373283000,
  "publish_immediately": "yes",
  "published_url": "http://62515.hs-sites.com/my-api-demo-page-slug",
  "slug": "my-api-demo-page-slug",
  "staged_from": null,
  "style_override_id": null,
  "subcategory": "site_page",
  "template_path": "generated_layouts/352531305.html",
  "tms_id": null,
  "translated_from_id": null,
  "unpublished_at": null,
  "updated": 1441239877000,
  "url": "http://62515.hs-sites.com/my-api-demo-page-slug",
  "widget_containers": {},
  "widgetcontainers": {},
  "widgets": {}
}

Path Parameters

page_id
string
required

The unique identifier for the page

Response

200 - application/json

Successful response

The response is of type object.