← Back to Docs

API KEYS

API keys provide programmatic access to the Podium REST API. Most users author and backtest strategies in the web app and never need a key — keys are for scripting and integrations.

Managing Keys

  • Manage keys at /dashboard/settings/api-keys (Dashboard → Settings → API Keys).
  • Keys use the format pk_ + 32 hex characters and are shown once at creation — store them securely.
  • The management API exposes list (GET), create (POST), and revoke (DELETE) on /api/api-keys.

Using a Key

Send the key as a Bearer token. The auth middleware accepts either a session cookie or a Bearer pk_… header.

bash
# Authenticate with a Bearer token (pk_ + 32 hex chars):
curl https://podium-finance.com/api/strategies \
  -H "Authorization: Bearer pk_your_key_here"