There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Get the previous version of the blog

Last updated July 14, 2022

GET /content/api/v2/blogs/:blog_id/versions/:version_id

Method Details

HTTP Methods:


Response Format:


Requires Authentication?


Rate Limited?






Get a sepcific revision of the settings for a blog. Version id is the id of the version from the list previous versions endpoint.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
blog_id Used in the request URL Unique identifier for a particular blog

Example Usage and Result

Hit this URL with a HTTP method of GET

JSON Fields returned in the response

Parameter name Type Description
allow_comments boolean Are comments enabled for the blog
archived_at long When the post was deleted, in milliseconds since the epoch. Zero if the blog post was never deleted. Use a DELETE request to delete the post, do not set this directly.
created long When the post was first created, in milliseconds since the epoch
html_title string The title in the <title> attribute of the page, shows up in the browsers title bar and as the title in Google search results
name string The internal name of the blog
public_title string The header of the blog
root_url string The full URL with domain and scheme to the blog post
slug string The path of the URL on which the post will live. Changing this will change the URL.
updated long When the post was last updated, in milliseconds since the epoch