Skip to main content
All requests to the Snapsec API require Bearer token authentication in the Authorization header.

Generating API Keys

  1. Navigate to Administration > API Keys.
  2. Click Generate New Key.
  3. Select the key type:
    • Personal Access Token (PAT): Inherits the permissions of the creating user.
    • Service Account Key: Scoped token intended for CI/CD pipelines, automation scripts, and SIEM forwarders.
  4. Set token scopes (e.g., findings:read, scans:trigger, assets:write).
  5. Copy the generated secret immediately. Tokens are displayed only once.