There's a new version of the HubSpot API

We're also working on a new documentation website, you're invited to check it out and give us your feedback.

Restore a previous version of the blog post

Last updated June 17, 2020

POST /content/api/v2/blog-posts/:blog_post_id/versions/restore

Method Details

HTTP Methods:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

Restore a specific revision for the specified blog post.

Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.
blog_post_id Used in the request URL Unique identifier for a particular blog
Version ID Used in the request body The request body should read: {"version_id": version_number}