Sentinel Network uses API keys for authentication. Every request must include your API key as a Bearer token. The gateway validates the key, resolves your publisher identity and permissions, and routes the request to the API.
Getting Your API Key
- Sign up or log in at the Sentinel Dashboard
- Create or select a publisher
- Navigate to API Keys and generate a new key
- The key is shown once — store it securely
API keys use the prefix sni_ (e.g., sni_live_abc123...). Include the full key in the Authorization header as a Bearer token.
Every request requires an Authorization header with your API key, and game-scoped operations require X-Game-Id:
| Header | Required | Description |
|---|
Authorization | Yes | Bearer sni_<your-key> |
X-Game-Id | Conditional | Game identifier. Required for game-scoped operations. |
Example Request
curl -s https://api.sentineltrustplay.io/v1/policy \
-H "Authorization: Bearer sni_live_abc123..." \
-H "X-Game-Id: game_fps_01"
Scopes
Scopes control which API operations an API key can perform. Scopes are configured when creating or editing a key in the Dashboard.
| Scope | Grants Access To |
|---|
device:check | POST /v1/device/check |
bans:write | POST /v1/bans |
bans:remove | POST /v1/bans/{ban_id}/revoke |
bans:read | GET /v1/device/{device_id}/bans/* |
bans:global | Create global-scoped bans (required alongside bans:write) |
policy:read | GET /v1/policy |
policy:write | PUT /v1/policy |
The bans:global scope is an additional permission required on top of bans:write to create bans with "scope": "global". This prevents accidental network-wide bans.
Environments
| Environment | Base URL | Description |
|---|
| Production | https://api.sentineltrustplay.io | Live environment for production traffic |
| Sandbox | https://sandbox.sentineltrustplay.io | Isolated testing environment with separate data |
Sandbox and production use separate API keys. Generate sandbox keys from the Dashboard by switching to sandbox mode.
Dashboard Authentication
The Sentinel Dashboard uses OAuth 2.0 (Google and GitHub) for authentication. See the Dashboard section for details on signing in and managing your account.