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
- Navigate to Settings → API Keys
- Click “Generate New Key”
- Name your key and set expiration
- 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.