Skip to main content

API Authentication

All API requests require authentication using API keys or OAuth tokens.

API Keys

API keys provide programmatic access to your account.

Creating an API Key

  1. Navigate to SettingsAPI Keys
  2. Click “Generate New Key”
  3. Name your key and set expiration
  4. Copy and store your key securely
API keys are displayed only once. Store them securely.

Using API Keys

Include your API key in requests:
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.usenubis.com/v1/instances

OAuth

OAuth allows third-party applications to access your account securely. See API Keys for detailed documentation.