Skip to content

Authentication

Secure your API access with authentication tokens.

Generate API keys from your dashboard settings.

  1. Go to Settings → API Keys
  2. Click Generate New Key
  3. Give your key a descriptive name
  4. Copy and store the key securely

Important: API keys are only shown once. Store them securely.

Include your API key in the Authorization header:

Terminal window
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.uptimenine.com/v1/monitors

API keys can have different permission levels:

PermissionAccess
ReadView monitors and statistics
WriteCreate and update monitors
AdminFull access including billing
  1. Never commit keys to version control
  2. Use environment variables for key storage
  3. Rotate keys regularly (every 90 days recommended)
  4. Use minimal permissions needed for each use case
  5. Monitor key usage in your dashboard

If a key is compromised:

  1. Go to Settings → API Keys
  2. Find the compromised key
  3. Click Revoke
  4. Generate a new key