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
}
Returns the current contents of the auto-save buffer for the page.
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
}
The unique identifier for the page
Successful response
The response is of type object
.
Was this page helpful?