Get the open reader
A reader view shares its live state only while an app the user approved holds a reader scope. A book is shared when its own setting says so, else by the user's default; until the user has chosen that default, the first call asks them. A document the user keeps from connected apps never appears, live or saved. Live state is kept briefly while OpenReader stays open and is never stored in the database.
AuthorizationBearer <token>Authorization code with S256 PKCE. Discover issuer metadata at /.well-known/oauth-authorization-server/api/auth and resource metadata at /.well-known/oauth-protected-resource/api/v1. Request the /api/v1 resource explicitly. The same token endpoint also supports the advertised OAuth device grant.
Scope: reader:read
The open reader view that is sharing (source live), else the last document opened and its saved position (source saved).
application/json- response
source*string"live""saved"open*|What an open OpenReader tab shows: a shared book (reader), the library or another page (library), or nothing an app may see (null).
"reader""library"nulldocument*segmentKey*|The sentence the reader is at. Pass it as at= on a reader URL to open there.
segmentOrdinal*integer|nullpage*|The PDF page shown; null for other formats and saved state.
sentence*|Text of the sentence the reader is at; live state only.
selection*|Text the user has selected; live state only.
length <= 2000playback*|Live state only.
"playing""paused""preparing"nullprogress*|Saved reading progress from 0 to 1; saved state only.
updatedAt*number|nullwebUrl*stringOpens the reader at this position.
uricurl -X GET 'https://reader.example/api/v1/reader'{ "source": "live", "open": "reader", "document": { "id": "string", "name": "string", "type": "pdf" }, "segmentKey": "string", "segmentOrdinal": 0, "page": 0, "sentence": "string", "selection": "string", "playback": "playing", "progress": 0, "updatedAt": 0, "webUrl": "http://example.com"}