For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get your API key

API keys authenticate server-side calls to the REST API and to the realtime WebSocket. The public widget endpoints under /v1/public/* need no key, and dashboard-only areas (API keys, billing, account) are reached with your dashboard login rather than a key. 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

  • Treat every key as a full credential. There are no per-key scopes today: every key carries the same organization-wide access

  • 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?