PUT
/
content
/
api
/
v2
/
blog-posts
/
{blog_post_id}
/
buffer
Updates the auto-save buffer
curl --request PUT \
  --url https://api.hubapi.com/content/api/v2/blog-posts/{blog_post_id}/buffer \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "html_title": "<string>",
  "slug": "<string>",
  "blog_author_id": 123,
  "post_body": "<string>",
  "post_summary": "<string>",
  "meta_description": "<string>",
  "featured_image": "<string>",
  "head_html": "<string>",
  "footer_html": "<string>",
  "campaign": "<string>",
  "campaign_name": "<string>",
  "publish_date": 123,
  "publish_immediately": true,
  "topic_ids": [
    123
  ],
  "keywords": [
    {}
  ],
  "use_featured_image": true,
  "widgets": {}
}'
{
  "id": 123,
  "portal_id": 123,
  "name": "<string>",
  "html_title": "<string>",
  "slug": "<string>",
  "content_group_id": 123,
  "blog_author_id": 123,
  "post_body": "<string>",
  "post_summary": "<string>",
  "meta_description": "<string>",
  "featured_image": "<string>",
  "head_html": "<string>",
  "footer_html": "<string>",
  "campaign": "<string>",
  "campaign_name": "<string>",
  "state": "DRAFT",
  "publish_date": 123,
  "publish_immediately": true,
  "created": 123,
  "updated": 123,
  "archived_at": 123,
  "is_draft": true,
  "url": "<string>",
  "published_url": "<string>",
  "topic_ids": [
    123
  ],
  "keywords": [
    {}
  ],
  "use_featured_image": true,
  "widgets": {}
}

Authorizations

hapikey
string
query
required

Path Parameters

blog_post_id
integer
required

Unique identifier for a particular blog post

Body

application/json

Response

200 - application/json

Auto-save buffer updated

The response is of type object.