The public API provides read-only access to published articles and JSON documents. Requests do not require workspace credentials.
Append the API paths to your Postparticle deployment URL. Replace the path placeholders with your project ID, article slug, or document key. Encode each value as a URL path segment. Make these requests from your website server.
GET /api/v1/projects/{projectId}/articles?organizationId={organizationId}
GET /api/v1/projects/{projectId}/articles/metadata?organizationId={organizationId}&page=1&pageSize=12&order=desc
GET /api/v1/projects/{projectId}/articles/{slug}?organizationId={organizationId}
GET /api/v1/projects/{projectId}/documents/{key}?organizationId={organizationId}The listing endpoint returns published articles that match its optional filters. The article endpoint returns one published article by slug. The document endpoint returns a named published JSON document.
Use this endpoint for article cards when the Markdown body is not needed. It returns the same pagination envelope as the full listing, but omits body from every item. It accepts order, page, and pageSize; it does not support full-text search or tag filters.
GET /api/v1/projects/demo/articles/metadata?organizationId={organizationId}&page=1&pageSize=12&order=descq searches title, excerpt, and Markdown body without case sensitivity. Maximum length: 200 characters.tag matches a complete tag without case sensitivity. Maximum length: 60 characters.order accepts asc or desc and sorts by article date. Slug order breaks date ties.page starts at 1 and accepts values through 100000.pageSize accepts 1–100 and defaults to 12.GET /api/v1/projects/demo/articles?organizationId={organizationId}&q=journey&tag=journal&order=desc&page=1&pageSize=12A listing response has items, total, page, and pageSize fields. Use total and pageSize to determine whether more pages remain. Omit unset parameters and encode query values with URLSearchParams.
An article includes title, slug, excerpt, Markdown body, author, tags, articleDate, seoTitle, seoDescription, createdAt, updatedAt, publishedAt, coverUrl, and socialImageUrl.
articleDate uses YYYY-MM-DD. Timestamp fields use UTC ISO strings. Use seoTitle and seoDescription when set; otherwise fall back to title and excerpt. Use socialImageUrl when available, then coverUrl.
A document response contains its key, title, tags, and a value field containing the document’s JSON data. The value shape depends on the document you publish; validate it against the schema your website expects.
The public API includes published content only. Drafts, trashed content, accounts, events, private object keys, and credentials are not available through these endpoints.
Published article Markdown and document JSON can contain media references. Valid references are resolved to public delivery URLs when the content is published. Article responses do not expose private object keys or internal media IDs in place of those URLs.

[Video caption](media:asset-id)
{ "hero": "media:550e8400-e29b-41d4-a716-446655440000" }Add useful alt text to images. The example site renders video references as links; add a player if your website needs inline playback.
400: the request contains invalid input.404: the article or document is missing or unpublished.503: a storage or service configuration failure prevented the request.The article metadata endpoint uses a 45-second public edge cache, with up to 15 seconds of stale-while-revalidate. Other API responses and errors use Cache-Control: no-store. Your website can add its own cache; see the cache freshness guide.