RevnuDocs
Browse the Docs

Content API / List posts

List posts

GET/api/content/v1/posts

Every published post, newest first, with cursor paging and filters by content type and time.

curl -H "Authorization: Bearer $REVNU_TOKEN" \
  "https://revnu.com/api/content/v1/posts?limit=50"

Query

Param Meaning
type Filter by content type, e.g. how_to.
since Epoch milliseconds: only posts published or updated after this.
limit Up to 200.
cursor The cursor from the previous page.

Response

{ "blog": {…}, "nav": {…}, "posts": [summary, …], "cursor": "…" | null }. Each summary carries slug, title, metaDescription, canonicalPath, publishedAt and updatedAt, which is everything a listing page or a sitemap needs.

A post that disappears from the list was removed; drop the page.

400 for an unrecognised type or a non-numeric since or limit.

Agents: this page is also markdown at /docs/content-posts.md, answers Accept: text/markdown, and is listed in /docs/llms.txt.

Frequently Asked Questions

One entry per post: `canonicalPath` for the URL and `updatedAt` as the last-modified time. Refresh it on the same schedule as your listing page.