Authentication
Authentication
Section titled “Authentication”Secure your API access with authentication tokens.
API Keys
Section titled “API Keys”Generate API keys from your dashboard settings.
Creating an API Key
Section titled “Creating an API Key”- Go to Settings → API Keys
- Click Generate New Key
- Give your key a descriptive name
- Copy and store the key securely
Important: API keys are only shown once. Store them securely.
Using API Keys
Section titled “Using API Keys”Include your API key in the Authorization header:
curl -H "Authorization: Bearer YOUR_API_KEY" \ https://api.uptimenine.com/v1/monitorsKey Permissions
Section titled “Key Permissions”API keys can have different permission levels:
| Permission | Access |
|---|---|
| Read | View monitors and statistics |
| Write | Create and update monitors |
| Admin | Full access including billing |
Security Best Practices
Section titled “Security Best Practices”- Never commit keys to version control
- Use environment variables for key storage
- Rotate keys regularly (every 90 days recommended)
- Use minimal permissions needed for each use case
- Monitor key usage in your dashboard
Revoking Keys
Section titled “Revoking Keys”If a key is compromised:
- Go to Settings → API Keys
- Find the compromised key
- Click Revoke
- Generate a new key