---
title: "Query Posts"
method: GET
path: "/cms/blogs/2026-09/posts/cursor/query"
tags: ["Basic"]
---

# Query Posts

`GET /cms/blogs/2026-09/posts/cursor/query`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/cms/blogs/2026-09/posts/cursor/query`
- Auth: OAuth 2
  - Authorization code: `https://app.hubspot.com/oauth/authorize`
  - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `content`

Retrieve blog posts from the HubSpot CMS using various query parameters to filter and sort the results. This endpoint supports pagination and allows you to specify date ranges for creation and updates, as well as sorting options. It is useful for fetching a list of posts with specific criteria, such as posts created after a certain date or posts that have been archived.

## Query parameters

- `after` string
- `archived` boolean
- `createdAfter` string, date-time
- `createdAt` string, date-time
- `createdBefore` string, date-time
- `limit` integer
- `property` string
- `sort` string[]
- `updatedAfter` string, date-time
- `updatedAt` string, date-time
- `updatedBefore` string, date-time

## Response `200`

successful operation

- CursorPagedResultBlogPostLong

## Other responses

- `default`: An error occurred.

## Changes

- **2026-09-03** (2026-09) `64f654adebd9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/cms-posts/changes/cms/blogs/2026-09/posts/cursor/query/get.md)

---

[API](https://skmtc.dev/hubspot/apis/cms-posts.md) - [All operations](https://skmtc.dev/hubspot/apis/cms-posts/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/cms-posts/revisions/12cef4e9cdd5?raw)
