Hive API Docs
API Reference

Posts API

Endpoint reference for listing posts and fetching post details

List posts

GET /posts

Query parameters

ParameterTypeDescription
limitnumberMax posts to return
offsetnumberItems to skip
categorystringFilter by category slug
tagsstringComma-separated tag slugs
authorstringFilter by author id

Example

curl "https://api.hivecms.online/api/public/v1/{API_KEY}/posts?limit=5&tags=guides,updates"

Get one post

GET /posts/{postSlug}

Example

curl "https://api.hivecms.online/api/public/v1/{API_KEY}/posts/welcome-to-hive"

Response notes

  • List response includes pagination metadata (total, offset, limit).
  • Detail response includes htmlContent.

Errors

  • 401 invalid API key
  • 404 post not found
  • 500 server/internal error

On this page