API key
ntrp uses Bearer token authentication. Include the key in theAuthorization header:
Getting a key
An API key is generated on firstntrp-server serve:
Resetting a key
Storage
The server stores only a salted SHA-256 hash of the key — the plaintext is never persisted. Desktop clients store the plaintext locally and encrypt it with OS-backed storage when supported.Public endpoints
The/health endpoint is always public (no auth required). This allows Docker healthchecks and monitoring tools to work without credentials.