GET
/v1/posts

Retrieve a paginated list of posts from your publication. The publication is identified by the API key provided in the Authorization header.

Use the status parameter to filter by post status (published, draft, scheduled, or archived). Defaults to published.

Authorization

apiKey
headerAuthorizationBearer <token>

API key for authenticating protected endpoints. Pass as Bearer token in Authorization header.

Query Parameters

cursor?string

Cursor for pagination

limit?integer

Maximum number of items to return (1-100, default: 10)

Range1 <= value <= 100
Default10
includeContent?|

Include full content fields (markdown, json, staticHtml). Default: false

status?string

Filter by post status. Default: published

Value in"published""draft""scheduled""archived"

Response Body

Posts retrieved successfully

application/json
  1. response
items*array<>

Array of items in this page

pagination*
curl -X GET "https://example.com/v1/posts"
{  "items": [    {      "id": "string",      "title": "string",      "imageUrl": "http://example.com",      "imageAlt": "string",      "publishedAt": "string",      "updatedAt": "string",      "subtitle": "string",      "slug": "string",      "staticHtml": "string",      "json": "string",      "markdown": "string",      "coinId": "string",      "categories": [        "string"      ],      "canonicalUrl": "http://example.com",      "publishOnline": true,      "communityId": "string",      "authors": [        {          "id": "string",          "walletAddress": "string",          "avatarUrl": "http://example.com",          "publicationId": "string",          "name": "string",          "bio": "string"        }      ],      "authorIds": [        "string"      ],      "views": 0,      "status": "published"    }  ],  "pagination": {    "cursor": "string",    "hasMore": true,    "total": 0  }}