Skip to content
Docs

Authentication

All StatStream REST API requests must be authenticated using an API key.

To create a new API key:

  1. Sign in to the StatStream web application.
  2. Navigate to Manage Organization → API Keys.
  3. Click Create API Key.
  4. Enter a Name, Description, and Owner.
  5. Generate the key and store it securely.

Include your API key in the Authorization header using the Bearer authentication scheme.

Authorization: Bearer <YOUR_API_KEY>

Requests with an invalid, expired, revoked, or deleted API key will receive an HTTP 401 Unauthorized response.

HTTP StatusDescription
401 UnauthorizedThe API key is missing, invalid, expired, revoked, or has been deleted.