GET
/
content
/
api
/
v2
/
pages
/
{page_id}
/
buffer
Gets the current contents of the auto-save buffer
curl --request GET \
  --url https://api.hubapi.com/content/api/v2/pages/{page_id}/buffer
{
  "id": 352531415,
  "name": "Contact Us",
  "slug": "my-api-demo-page-slug",
  "html_title": "The API Test Page",
  "widgets": {
    "subheader": {
      "body": {
        "value": "This is the follow up subheader"
      }
    },
    "right_column": {
      "body": {
        "html": "<h2>This text was updated via the API</h2><p>This is an example of publishing nested widget data via the API.</p>"
      },
      "smart_type": 0,
      "name": "right_column",
      "smart_objects": []
    }
  },
  "widget_containers": {},
  "has_user_changes": true
}

Path Parameters

page_id
string
required

The unique identifier for the page

Response

200 - application/json

Successful response

The response is of type object.