Authentication
Every API request is authenticated with an API key, sent as a bearer token in the Authorization header, the same way OpenAI-compatible clients do it.
Header
Authorization: Bearer $LYNKROUTER_API_KEYKey lifecycle
- Create and name keys in API keys.
- A new key is shown once, when you create it. Copy it then; the key list only shows masked identifiers.
- Revoke a key from the same page. Requests using a revoked key stop working.
- Use a separate key per application so you can revoke one without affecting the others.
Keep keys safe
- Store keys in environment variables or a secrets manager.
- Never embed a key in browser or mobile app code.
- Never paste a key into a support request. If one is exposed, revoke it and create a new one.