ressource.socialbetadocumentation
API referenceSources

Store reader mode for the caller's own source from its rendered HTML

For a client that has the page open — the browser extension sends the tab it just saved, so reader mode works behind a login or a bot wall the server cannot pass. The body is the page's HTML, optionally sent with `Content-Encoding: gzip` or `deflate`; it is capped at 6 MiB after decompression. Owner only: a source shared with you is a 404. An embed (video, post) has no article and answers `stored: false`, `reason: "oembed"`; a page too short to read answers `reason: "below_quality_gate"`.

POST
/api/v1/sources/{id}/reader-capture

Sends a real request with your token. Prefer a read-only token; it is kept in this browser's storage.

For a client that has the page open — the browser extension sends the tab it just saved, so reader mode works behind a login or a bot wall the server cannot pass. The body is the page's HTML, optionally sent with Content-Encoding: gzip or deflate; it is capped at 6 MiB after decompression. Owner only: a source shared with you is a 404. An embed (video, post) has no article and answers stored: false, reason: "oembed"; a page too short to read answers reason: "below_quality_gate".

Authorization

headerAuthorizationBearer <token>

A personal access token (rsk_…) or a Supabase access token.

Path Parameters

id*string
Length1 <= length

Request Body

body*stringtext/html

The page's HTML

Response Body

Stored, or skipped

application/json
  1. response
stored*boolean
curl -X POST 'https://www.ressource.social/api/v1/sources/string/reader-capture'
{  "stored": true}