---
title: "List my publications"
method: GET
path: "/api/publications"
tags: ["Publications"]
---

# List my publications

`GET /api/publications`

## Request

- Base URL: `https://brewpage.app`
- URL: `https://brewpage.app/api/publications`
- Auth: API key in header `X-Owner-Token`

Rows of the owner token; a profile token lists the whole profile. Newest first.

## Query parameters

- `type` 'html' | 'site' | 'file' | 'json' | 'kv'
- `status` 'public' | 'hidden' | 'private' | 'password' | 'unavailable'
- `q` string
- `tag` string
- `expiring` boolean
- `cursor` string
- `limit` integer

## Headers

- `X-Owner-Token` unknown, required

## Response `200`

One page

- PublicationListResponse
  - `items` PublicationListItemResponse[], required
    - `type` string, required
    - `namespace` string, required
    - `id` string, required
    - `title` string
    - `format` string: Page content format (html, markdown, code formats) or file MIME type; absent for sites, JSON and KV
    - `link` string
    - `createdAt` string, date-time, required
    - `expiresAt` string, date-time, required
    - `views` integer, required
    - `comments` integer, required: Comments on the publication, deleted ones excluded; 0 when none
    - `status` string, required: public, hidden, private, password or unavailable
    - `listed` boolean, required
    - `listable` boolean, required: false = never listed in the gallery whatever the namespace (JSON and KV, JSON pages, HTML and JSON files); listing does not apply
    - `extendDays` integer: Days `POST …/extend` sets; null when not offered
    - `readOnly` boolean, required: Old publication: edits refused; publish a new one.
    - `preview` PublicationPreviewResponse: WebP previews: thumbD 800x373, thumbM 320x149, full: page top (pages, sites) or the 1200 px card
      - `thumbD` string, required
      - `thumbM` string, required
      - `full` string
      - `branded` boolean: true = type card, not a page or content render; absent when false
    - `claimed` boolean, required: Added by management link
    - `customDomain` PublicationDomain: Custom domain on a publication list item.
      - `hostname` string, required: Hostname in ASCII (A-label), lowercase
      - `displayHostname` string, required: Unicode form for display
      - `status` 'pending_dns' | 'verifying' | 'active' | 'lost', required: pending_dns, verifying, active or lost (as DomainItem.status)
      - `problem` string: As DomainItem.problem; absent when nothing blocks progress
      - `suspended` boolean, required: true when BrewPage suspended this domain; write to info@brewpage.app
    - `pageData` PublicationPageData: Page data on a page or site: what visitors saved there
      - `docs` integer, required: Stored entries
      - `usedPercent` integer, required: Highest share of the entry, entry size, file and file size quotas in use, percent from 0 to 100
    - `badgeHidden` boolean: true = your profile hid the BrewPage badge on this publication; absent otherwise
    - `linkName` string, nullable: Link name of this public page, site or file; null = its random link. Absent when link names are not available.
    - `tags` string[]: Your tags, lowercase, at most 10; only you see them (never on the page, gallery or search); absent when none
    - `pageDataHint` 'form' | 'local' | 'game' | 'relay': Page data would help this page or site: form (answers not saved), local (saves only in the visitor's browser), game (saved progress) or relay (sends input to an outside service); absent while page data is on or nothing suggests it
  - `nextCursor` string: Pass as `cursor` for the next page; null on the last page
  - `total` integer, required
  - `customDomains` CustomDomainsBlock: Custom domains for this caller; present only when custom domains are available
    - `enabled` boolean, required: Always true when present
    - `limit` integer, required: Hostnames the caller's profile may hold (profile grant or the default)
    - `used` integer: Hostnames the profile holds; absent when no profile resolves and on /api/limits
  - `secretCounts` SecretCountsResponse: How many one-time secrets you have
    - `active` integer, required: Still openable: views left, not expired, not deleted
    - `spent` integer, required: Ended: opened all the way, expired or deleted, kept in your list for a while

## Other responses

- `400`: Invalid filter or cursor
- `403`: Owner token revoked or expired

## Changes

- **2026-12-01** `4f27cbc70df3`: 1 warning
  - added the new `relay` enum value to the `items/items/pageDataHint` response property for the response status `200`
- **2026-11-28** `dac5983bec77`: 1 info
  - added the required property `items/items/comments` to the response with the `200` status
- **2026-11-28** `317aa79e07ee`: 1 info
  - added the optional property `items/items/pageDataHint` to the response with the `200` status
- **2026-11-22** `83483c70abbd`: 1 info
  - added the optional property `secretCounts` to the response with the `200` status
- **2026-11-22** `21d3daa71f92`: 2 info
  - added the new optional `query` request parameter `tag`
  - added the optional property `items/items/tags` to the response with the `200` status

[Operation history](https://skmtc.dev/brewpage/apis/brewpage-api/changes/api/publications/get.md)

---

[API](https://skmtc.dev/brewpage/apis/brewpage-api.md) - [All operations](https://skmtc.dev/brewpage/apis/brewpage-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brewpage/apis/brewpage-api/revisions/78d2720a18a9?raw)
