PapermarkDocs

Commands

The `papermark` command tree, organized by noun.

The CLI groups commands by the resource they act on. Run any command with --help for the full flag list — these pages cover the parts worth reading once.

GroupUse it for
documentsList, get, search, upload, delete documents
dataroomsCreate, configure, audit, and read analytics for datarooms
linksCreate, list, get, delete share links (document- or dataroom-bound)
viewsRead view analytics for a link
configPer-machine settings (e.g., custom API URL)

Auth-related commands (login, logout, whoami, auth export, auth set, doctor) live on the Authentication page — they make more sense in that context.

Global flags

These work on every command:

FlagEffect
--jsonForce JSON output (auto-enabled when piped)
--dry-runPrint the HTTP request and exit 0 (token redacted)
--no-colorDisable ANSI color (equiv. to NO_COLOR=1)

Aliases

papermark documents accepts papermark doc as an alias. Tab completion picks up either.

The output contract

Everything every command emits — success or failure — is documented in the output contract. Pin to it.

On this page