Get your API key

All requests to the Ojin API require authentication using API keys. This guide explains how to create, manage, and securely use API keys in your applications.

Creating an API Key

  1. Sign in to your Ojin Dashboard

  2. Navigate to the API Keys section

  3. Click Create API Key

  4. Enter a descriptive name for your key (e.g., "Development", "Production")

  5. Click Create

  6. Important: Copy and store your API key securely. It will only be shown once.

API Key Best Practices

  • Separate keys for development and production environments

  • Use environment variables to store API keys without exposing them publicly

  • Restrict permissions to only what's needed for each key

  • Rotate keys periodically for enhanced security

  • Revoke compromised keys immediately in your dashboard

  • Use secret management services in production environments

  • Monitor usage to detect unusual patterns that might indicate a leak

Last updated

Was this helpful?