Skip to main content

API Authentication

Coming Soon

API authentication is under development.

Overview

The PatchCTL API will use token-based authentication.

Getting an API Token

  1. Go to SettingsAPI
  2. Click Generate Token
  3. Name your token
  4. Select scopes
  5. Copy and save the token
Save Your Token

Tokens are only shown once. Store securely.

Using Your Token

Include the token in the Authorization header:

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.patchctl.com/v1/servers

Token Scopes

ScopeAccess
read:serversView server data
write:serversModify servers
read:patchesView patch data
write:patchesExecute patches
read:schedulesView schedules
write:schedulesManage schedules

Token Management

  • Tokens don't expire by default
  • Revoke tokens anytime in Settings
  • Use different tokens for different integrations
  • Audit token usage in logs