LiteRouter Docs

Authentication

Your API key

Create keys in your dashboard under API Keys. You can create multiple keys (for example, one per project) and revoke any of them at any time.

Sending the key

Pass your key in the Authorization header as a Bearer token on every request:

text
Authorization: Bearer YOUR_LITEROUTER_API_KEY
⚠

Keep your key secret: store it in an environment variable, never commit it to source control or share it. If a key is ever exposed, revoke it from the dashboard and create a new one.