ATStatus
ATStatus WikiLoading documentation...

API Keys

Manage API keys for programmatic access to your status pages.

Creating API Keys

1

Navigate

Go to Admin → API Keys

2

Create

Click Create API Key

3

Configure

Enter name, select scopes, set expiration

4

Save

Click Create and copy the key immediately

Important: Copy your API key immediately! It will only be shown once and cannot be retrieved later.

API Key Scopes

ScopeAllows
read:statuspagesRead status pages
write:statuspagesCreate/update status pages
read:componentsRead components
write:componentsCreate/update components
read:incidentsRead incidents
write:incidentsCreate/update incidents
read:maintenanceRead maintenance
write:maintenanceCreate/update maintenance

Using API Keys

Include the key in the Authorization header:

curl -X GET https://status.example.com/api/v1/statuspages \
  -H "Authorization: Bearer YOUR_API_KEY"

Expiration Options

Never
30 days
90 days
1 year
Custom

Revoking Keys

Navigate to Admin → API Keys, find the key, click Revoke, and confirm. Revoked keys are immediately invalidated.

Best Practices

  • Use minimal required scopes
  • Set expiration dates
  • Rotate keys periodically
  • Never commit keys to code
  • Revoke unused keys