An API Access Token is required in order to authenticate the Calibre Command Line (CLI) or Node.js API
API tokens carry many privileges, so be sure to keep all of them secret.
Tokens can be managed by visiting the API Tokens page, which can be found under the team drop-down.
Only admin users are able to view or manage API tokens.
The CALIBRE_API_TOKEN environment variable should be used in order to set the API Access Token for use with CLI, Node.js API or GraphQL APIs.
1export CALIBRE_API_TOKEN=<token here>2calibre site list
1export CALIBRE_API_TOKEN=<token here>2node my-calibre-script.js