LeenOpsDocs
Developer

Authentication

Authenticate API requests safely.

Common auth methods

MethodUsed for
Supabase session cookiesDashboard and user-authenticated API routes.
Scoped API keysChatbot widgets, external products, and product APIs.
Install tokensOne-time Hermes installation.
Telemetry tokensHermes event ingestion.
HMAC signingServer-to-worker calls such as developer automation.

Headers

For server-to-server APIs, prefer:

Authorization: Bearer <token>
Content-Type: application/json

Never log full token values. Store tokens in environment variables or a secret manager.