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
Sign in to your Ojin Dashboard
Navigate to the API Keys section
Click Create API Key
Enter a descriptive name for your key (e.g., "Development", "Production")
Click Create
Important: Copy and store your API key securely. It will only be shown once.
API keys provide full access to your Ojin resources. Never expose them in client-side code, public repositories, or share them with unauthorized individuals.
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?