Skip to main content

API Key

Include your API key in the Authorization header of every request:

Getting an API key

Run the CLI login command to generate an API key:
The key is saved at ~/.lazy-raccoon/credentials.json and can be used for direct API calls.

Key format

API keys follow the format lr_ followed by 64 hexadecimal characters:

Security

  • API keys are hashed (SHA-256) before storage — the plain key is never saved on our servers
  • Only one active key per device — logging in again replaces the previous key
  • You can revoke keys from the Settings page

Verify your key

Response: