Skip to main content

Get all preferences for the authenticated user

GET 

/api/v1/user/preferences

The store is an open key -> JSON map: any syntactically valid key is accepted, and this endpoint returns whatever the user has set. The list below is not a whitelist, it is the set Codex's own clients read and write. A client that wants a user's settings to follow them between devices has to use these exact keys and value shapes.

KeyValue
ui.theme"light", "dark", or "system" (default "system")
library.show_deleted_booksboolean (default false)
want_to_read.sort"newest", "oldest", or "custom" (default "newest")
release_tracking.muted_series_idsarray of series id strings (default [])

Keys are snake_case, matching the server settings store rather than the camelCase of the JSON fields around them: a key is a value in a database column, not a field name.

Reader settings are deliberately not here. Fit mode, reading direction, zoom, and per-series reader overrides are device-local state, held by each client and never synced, because a phone and a desktop legitimately want different ones.

Responses

User preferences retrieved