Skip to main content

Authentication

Authenticate requests with a bearer token sent in the Authorization header.

Example:

GET /v1/players HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_TOKEN

Token acquisition:

  • Replace this section with how clients obtain tokens (API keys, OAuth2, etc.).

Errors:

  • 401 Unauthorized: Missing or invalid token
  • 403 Forbidden: Token lacks required permissions