GET
/
content
/
api
/
v2
/
blog-posts
/
{blog_post_id}
/
versions
List previous versions of the blog post
curl --request GET \
  --url https://api.hubapi.com/content/api/v2/blog-posts/{blog_post_id}/versions
[
  {
    "id": 123,
    "object": {
      "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": {}
    },
    "updated_at": 123,
    "user": {
      "id": 123
    }
  }
]

Authorizations

hapikey
string
query
required

Path Parameters

blog_post_id
integer
required

Unique identifier for a particular blog post

Response

200 - application/json

List of blog post versions

The response is of type object[].