Authorization header on every request:
X-Api-Key: <key> and ER:LC’s Server-Key: <key> also work.
Key format
Scopes
A key’s scopes can’t change. To give a tool more access, make a new key and revoke the old one.
Check a key
GET /v1/me returns the key’s name, its scopes and which server it belongs to. Use it as a “test connection” button.
Keep keys safe
- Only call the API from a server, never from a browser or a Discord client. The API sends no CORS headers on purpose.
- Give each tool its own key. Then you can revoke one without breaking the others.
- A server can have up to 5 keys. Only the server owner can make or revoke them, from the in-server console.
- Repeated bad keys from the same IP get rate limited.

