Obtaining your API key
API keys are generated by an instance administrator using thetrack user add command. When a user is created, the key is printed exactly once:
Configuring the CLI
Runtrack config to store your key. It prompts for the key with a hidden input (nothing echoed to the terminal) and writes ~/.track/config.toml with file permissions 600:
api_url field is omitted when using the default shared deployment (https://projects.wrixton.xyz). After running track config, every CLI command reads the key from this file automatically. You can inspect the current config at any time:
Using an environment variable
If you prefer not to write a config file — for example in a CI environment or a shell script — setTRACK_API_KEY instead:
~/.track/config.toml. You can similarly override the API endpoint with TRACK_API_URL (useful if you are running a local or self-hosted instance).
If neither the config file nor the environment variable is present, every CLI command exits immediately with:
error: track is not configured. Run: track configPassing the key in direct API requests
All HTTP endpoints require the key in thex-track-key request header:
Authenticating in the web UI
When you open the web UI at projects.wrixton.xyz for the first time in a browser, you’ll be prompted to paste your API key. The UI stores it inlocalStorage, so the prompt only appears once per browser. To switch accounts or clear the stored key, use Settings in the web UI, or clear localStorage for the site manually through your browser’s developer tools.
Calendar feed authentication
The live calendar subscription feed passes the key as akey query parameter rather than a header (most calendar clients don’t support custom headers):
webcal:// instead of https:// if your app requires it). The feed is read-only and scoped to your key exactly like the rest of the API. Append &all=1 to include done and canceled items.
Rotating a compromised key
If your key is leaked or you suspect unauthorized access, contact your instance administrator to rotate it immediately. Rotation is an admin-only operation that invalidates the old key and issues a new one. The administrator runs:track config to store it, and update any other places the old key was saved — browser localStorage, calendar subscriptions, scripts, and so on.