IntegrationsChannel API for catalogs

Channel API for catalogs

Pull the comics creators listed on your catalog from PanelWave: listings feed, listing documents, review decisions and signed webhooks.

The Channel API is for catalogs and partner platforms that show PanelWave comics: a catalog site, a comic app, a curated collection. You pull the works whose creators switched your channel on, show cards and work pages, and send readers to the PanelWave reader or embed it.

A channel and its API client are set up by the PanelWave team. Write to us if you run a catalog and want to list PanelWave comics. Creators decide themselves which channels list their work, under Backstage → Ship → Channels.

Your feed contains a work only when its creator switched your channel on and the work is published. There is no way to list other works. When a creator switches you off, unpublishes the work or it is taken down, the listing turns into a tombstone (status: removed) and you remove it from your site.

Authentication

Every request carries the client token you received when the client was created:

Authorization: Bearer pwch_1a2b3c4d_…
  • Base URL: https://app.panelwave.org/api/channel-api/v1
  • The token is shown once. If it leaks, ask for a new one; the old one stops working at once.
  • Scopes: listings:read (feed and listing documents), listings:write (review decisions).
  • Limits per client: 600 reads and 120 writes per minute. Above that the API answers 429.

Read the feed

query
updatedSincestring

ISO 8601 date-time. Only listings changed after it (tombstones included). Use the updatedAt of the newest item you stored.

query
statusstring

live, in_review, paused or removed. Without it, all of them.

query
teamstring

A team slug: only that creator's works, for creator pages.

query
cursorstring

The nextCursor of the previous page.

query
limitinteger

1 to 200, default 50.

curl -H "Authorization: Bearer $PW_CHANNEL_TOKEN" \
  "https://app.panelwave.org/api/channel-api/v1/listings?updatedSince=2026-12-01T00:00:00Z&limit=100"

The answer lists the newest change first:

{
  "ok": true,
  "data": {
    "items": [ { "listingId": "…", "status": "live", "updatedAt": "2026-12-03T09:14:22.512031Z", "…": "…" } ],
    "nextCursor": "MjAyNi0xMi0wM1QwOToxNDoyMi41MTIwMzFafDhm…"
  }
}

nextCursor is null on the last page.

First import

Page through GET /listings until nextCursor is null. Store each item by listingId.

Keep it fresh

Every few minutes, ask for updatedSince=<newest updatedAt you stored> and page through the answer. Replace stored items; delete the ones that come back with status: removed.

Skip unchanged items

Compare contentHash: when it is the same, nothing you show has changed.

GET /listings/{listingId} returns one item in the same shape (404 for listings that are not on your channel).

The listing document

listingIdstring
Required
The id you store and use for decisions.
statusstring
Required
live, in_review (waiting for your review), paused (hide it for now) or removed (delete it).
updatedAtstring
Required
When the listing last changed (microseconds, UTC).
workobject
workId, title, description, slug, defaultLocale.
teamobject
name and slug of the creator's team.
metadataobject
What the creator wrote for channels: subtitle, synopsis, format, genres (with labels, BISAC and Thema codes), keywords, themes, audience, rating (code, minimum age, regional ratings, warnings), series, credits, originalLanguage, translation, identifiers, publisher, copyright, license, rights, aiDisclosure and aiSummary, terms (the author's own distribution terms), links. Fields the creator left empty are missing.
factsobject
Computed from the published release: languages, chapterCount, panelCount, pageCount, estimatedReadingMinutes, features (branching, variables, hotspots, audio, voice, video, animation, widgets) for format badges, readingDirection.
coverobject
url: a stable cover address. Add ?w=640 for an image at least 640 pixels wide, ?lang=de-DE for a language edition. It redirects to the current file, so you can cache your own copy.
previewsarray
Preview images: url per image, the first panels of the free part drawn as readers see them (WebP, up to 1280 pixels). Stable addresses that redirect to the current file. Empty until they are drawn after a publish, or when the creator allows none (up to 20).
readerobject
url (the work on read.panelwave.org), embedUrl (for an iframe), editions[] with locale, default, title, description, url and coverUrl per complete language.
accessobject
model: free, free_preview (the first previewPanels panels are free), purchase or subscription. offers[] stays empty until reader purchases launch; until then show "Free" or "Free preview" and send readers to the reader for the rest.
publicUrlstring
Your page for the work, as you sent it with your decision.
contentHashstring
SHA-256 over the document; changes when anything you show changes.

The document never contains the comic's manifest, file addresses or anyone's e-mail address. Tombstones (paused, removed) carry only listingId, status and updatedAt.

Review decisions

A curated catalog sees new works with status: in_review and decides with a client that has the listings:write scope:

curl -X POST -H "Authorization: Bearer $PW_CHANNEL_TOKEN" -H "Content-Type: application/json" \
  -d '{"decision":"accepted","publicUrl":"https://catalog.example/comics/night-city"}' \
  "https://app.panelwave.org/api/channel-api/v1/listings/$LISTING_ID/decision"
DecisionWhenWhat happens
acceptedin_review or liveThe listing goes live; publicUrl (optional, https) is shown to the creator
rejectedin_reviewThe creator gets a to-do with your reason
removedlive, paused or in_reviewThe listing is withdrawn; the creator is told, with your reason

A decision that does not fit the listing's status answers 409 with code: INVALID_TRANSITION.

Webhooks

When your client has a webhook URL, PanelWave posts an event whenever one of your listings changes:

EventMeaning
listing.publishedA creator listed a work on your channel
listing.updatedA listed work has a new release or new details
listing.pausedHide the work for now
listing.withdrawnRemove the work (data.reason: creator, unpublished, takedown, terms_expired, …)
{
  "id": "dlv_48213",
  "type": "listing.updated",
  "createdAt": "2026-12-03T09:14:23.004Z",
  "data": { "listingId": "…", "status": "live", "releaseId": "…" }
}

The event is a nudge: fetch GET /listings/{listingId} for the document. Answer with any 2xx within 10 seconds; redirects are not followed. A failed delivery is retried with the same id, so drop ids you have handled. A withdrawal must be acted on within the time your channel terms state.

Verify the signature

Each request carries X-PanelWave-Signature: t=<unix seconds>,v1=<hex>, where v1 is the HMAC-SHA256 of "<t>.<raw body>" with your webhook secret (whsec_…, shown once when the URL was set). Also sent: X-PanelWave-Event and X-PanelWave-Delivery.

import crypto from 'node:crypto';

export function verifyPanelWave(rawBody, header, secret, toleranceSeconds = 300) {
  const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
  const t = Number(parts.t);
  if (!t || Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false;
  const expected = crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex');
  const given = Buffer.from(parts.v1 ?? '', 'hex');
  return given.length === 32 && crypto.timingSafeEqual(given, Buffer.from(expected, 'hex'));
}

Use the raw request body exactly as received, before any JSON parsing.

Errors

StatusMeaning
400A parameter is not valid (updatedSince, status, cursor, decision, publicUrl)
401No token, or the token is not valid any more
403The client lacks the scope for this call
404The listing is not on your channel
409The decision does not fit the listing's status
429Too many requests; wait a minute

Every answer has ok; errors add error with a sentence for a person.

Show the reader on your pages

Link to reader.url, or show the work inside your page with the PanelWave host SDK (MIT, no dependencies). Pass your channel key, so reads on your pages count for your channel in the creator's analytics:

<div id="comic"></div>
<script src="https://read.panelwave.org/embed.js"></script>
<script>
  const frame = PanelWave.mount(document.getElementById('comic'), {
    src: listing.reader.url,
    channel: 'your-channel-key',
    loading: 'click',                                  // nothing loads from PanelWave before the tap
    poster: { image: listing.cover.url + '?w=960', title: listing.work.title, label: 'Read' },
    locale: 'de-DE',
    theme: 'dark',
  });
  frame.on('progress', (p) => saveReadingPosition(listing.listingId, p.panelId));
</script>
OptionUse
srcreader.url, or an edition's url for a language edition
channelYour channel key. Reads count for your channel only while the work is live on it
loadingeager, lazy (when the box nears the viewport) or click (a poster from your own data until the tap)
privacy{ tracking: false } until your visitor consents, then frame.setPrivacy({ tracking: true })
purchaseUiin_place, link_out or hidden. In store apps: hidden on iOS, link_out on Android
resume{ panelId } from an earlier progress event, to continue where the reader stopped

The full list of options, events and the messages behind them is in Host SDK and Embed protocol. If your channel is set up to leave analytics to your pages — as roadbeat is — the reader starts in privacy mode on your pages unless you pass privacy, and counts reads once you call setPrivacy({ tracking: true }).

Creators decide who may show their reader. If a creator allows only channels they listed, the reader opens only inside pages from the origins in your catalog entry: send us the https:// origins your pages embed from when your channel is set up.

Checklist for partner channels

What we check when a channel is set up, and keep checking where it can be automated:

  • Show only listings from your feed, and remove a listing within the agreed time after listing.withdrawn or a removed tombstone.
  • Do not store manifests or file addresses. Covers and preview images come only from the stable cover.url and previews[].url addresses.
  • Embed with the SDK and leave the player as it is: no changes to its paywall, price or free preview.
  • Show the credits, the rating, the content warnings and the AI disclosure the listing document carries.
  • Name your fee in your catalog entry. A new fee comes as a new terms version, with notice to creators.
  • When reader purchases launch: identify your signed-in users to PanelWave only by a stable pseudonymous id, never by e-mail, and start purchases only through the Channel API with the creator shown as the seller.