Skip to main content
The ELUUP AI API uses API keys passed as Bearer tokens in the Authorization header. Every request to the API must include a valid key. This page explains how to generate keys, pass them in requests, and manage them securely.

Generate an API key

  1. Log in to your ELUUP AI account at app.eluup.ai
  2. Go to Settings > API Keys
  3. Click Generate Key
  4. Enter a descriptive name (for example, “Production Trading Bot”)
  5. Select the scope you need (see below)
  6. Copy the key immediately. It is shown only once.
Store your API key in a secure location. If you lose it, you will need to generate a new one. Never share keys in public repositories or client-side code.

Pass your API key

Include your key in the Authorization header on every request as a Bearer token.
If the key is missing or invalid, the API returns a 401 Unauthorized response:

Key scopes

API keys can have one of two scopes. Choose the minimum scope needed for your integration. When generating a key, select the scope that matches your use case. A read-only key is appropriate for dashboards and analytics. A full-access key is required for deploying and controlling trading agents.

Rotate your API key

To rotate a key:
  1. Go to Settings > API Keys in the ELUUP AI dashboard
  2. Find the key you want to rotate
  3. Click Revoke to invalidate it immediately
  4. Generate a new key with the same scope
  5. Update your application to use the new key
Rotated keys are invalidated instantly. Any requests using the old key will receive a 401 Unauthorized response.

Environment variables

Never hardcode API keys in your source code. Load them from environment variables instead.
If you are building a client-side application, proxy API requests through your own backend. Exposing an API key in browser or mobile code puts your account and funds at risk.

Next steps