Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HubSpot Posts API

Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags.

HubSpot Posts API is one of 93 APIs that HubSpot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 40 JSON Schema definitions.

Tagged areas include Archive, Attach, Batch, Blog Posts, and Blogs. The published artifact set on APIs.io includes API documentation, an OpenAPI specification, code examples, and 40 JSON Schemas.

This API exposes 5 operations across 2 paths, and defines 8 schemas. It is described by OpenAPI 3.1.0, at version 3.0.0.

Requests are made against a single base URL, https://api.hubapi.com.

5 operations 2 paths 8 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.0.0
Base URL
https://api.example.com
Authentication
OAuth 2.0
License
Resource Areas
1

Authentication & Security 1

HubSpot Posts API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 1 scope.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Blog Posts 5

Create, read, update, and delete individual blog posts

GET
/cms/v3/blogs/posts
Hubspot List All Blog Posts
listBlogPosts 5 params → 200default
POST
/cms/v3/blogs/posts
Hubspot Create a Blog Post
createBlogPost body → 201default
GET
/cms/v3/blogs/posts/{objectId}
Hubspot Retrieve a Blog Post
getBlogPostById 3 params → 200default
PATCH
/cms/v3/blogs/posts/{objectId}
Hubspot Update a Blog Post
updateBlogPost 2 params body → 200default
DELETE
/cms/v3/blogs/posts/{objectId}
Hubspot Archive a Blog Post
archiveBlogPost 1 param → 204default

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are BlogPost (32 properties), BlogPostInput (15 properties), Error (7 properties), ErrorDetail (5 properties). Each schema is shown below with its type and property counts.

ErrorDetail
object
Detailed error information
5 properties 1 required
BlogPost
object
Represents a blog post with all content and metadata
32 properties 4 required
PagingPrevious
object
Pagination cursor for previous page
2 properties
Error
object
Standard error response
7 properties 3 required
BlogPostCollection
object
Paginated collection of blog posts
3 properties 2 required
Paging
object
Pagination information
2 properties
BlogPostInput
object
Input data for creating or updating a blog post
15 properties 2 required
PagingNext
object
Pagination cursor for next page
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hubspot-blog-posts-api-openapi.yml Raw ↑

Other APIs HubSpot publishes across the network.

HubSpot URL Redirects API
HubSpot Pipelines API
HubSpot Products API
HubSpot Line Items API
HubSpot Quotes API
HubSpot CRM Properties API
HubSpot Owners API
HubSpot CRM Imports API
HubSpot Custom Objects API
HubSpot Marketing Events API
HubSpot Forms API
HubSpot Workflows API