DocSpring CLI
New versions of the DocSpring CLI. To install it, see DocSpring CLI. You can also get these release notes by email.
Changelog
Section titled “Changelog”Released on Nov 3, 2026
- A profile’s credentials only go to the server it was saved for. A command that uses a profile with
--regionor--hostfor another server now fails instead of sending them there. - A command that runs while you log in to the same profile again, on another server, uses the profile’s old server and old login, or both new ones. Before, it could send the new login’s token to the old server.
docspring loginwithout--regionor--hostusesDOCSPRING_REGIONorDOCSPRING_HOSTfor a new profile, as commands do with an API token in the environment.- Logging in again to a
--hostprofile uses the--issuerits last login was given. - A profile saved by a newer version of the CLI no longer stops your other profiles from working, and saving another profile keeps it.
docspring submitanddocspring submissions downloadcheck each file’s size as well as its SHA-256 checksum, so a file the API lists without a checksum (an audit trail made before September 2024) is checked too.
Released on Nov 3, 2026
- The first release of the DocSpring CLI: a
docspringcommand for every operation in DocSpring’s API v2, such asdocspring templates listanddocspring submissions create, with--jsonoutput for scripts and AI agents. docspring loginlogs in with your browser, anddocspring login --with-tokensaves an API token. Profiles keep more than one account or region (--profile), and the tokens are kept in your system’s keychain. Commands also readDOCSPRING_TOKEN_IDandDOCSPRING_TOKEN_SECRET, for CI.docspring submitfills in a template and saves the PDF, or a Word template’s Word document, anddocspring submissions downloadsaves a submission’s PDF, Word document, audit trail or preview.docspring templates model-code --checkexits with status 5 when a file of generated types is out of date with its template, for CI.--allgets every page of a list and prints all the items as one list.docspring exports downloadsaves the account export that DocSpring support sends when you ask for a copy of your account’s data.- Request bodies are checked against the API’s schemas before they’re sent, so a mistyped property name fails with the same details as the API’s 422 response.
- Install it with Homebrew (
brew install docspring/tap/docspring), the shell or PowerShell installer,cargo install --locked docspring-cli, or theDocSpring/docspring-cliGitHub Action.docspring updateupdates an install from the installers.