Skip to main content
All API requests to genui.sh require authentication using an API key.

Getting Your API Key

  1. Sign in to your genui.sh dashboard
  2. Navigate to Settings > API Keys
  3. Click Create New Key
  4. Copy and securely store your API key
API keys are only shown once when created. If you lose your key, you’ll need to generate a new one.

Using Your API Key

Include your API key in the Authorization header of all requests:

Best Practices

Never hardcode API keys in your source code. Use environment variables instead:
Generate new API keys periodically and revoke old ones from the dashboard.
Create separate API keys for development, staging, and production environments.
Check your dashboard regularly to monitor API usage and detect any anomalies.

Error Responses

If authentication fails, you’ll receive one of these responses: Example error response:

Rate Limits

API requests are rate limited based on your plan: Rate limit headers are included in all responses: