Authentication
Anonymous guest authentication using device IDs
Last updated: 12/20/2024
Anonymous Authentication
StatPotion uses anonymous guest authentication - no user signup required
✓ Benefits
- • No user registration friction
- • Works across all platforms
- • Privacy-friendly approach
- • Instant player onboarding
🔧 How it works
- • Device generates unique ID
- • Server issues JWT token
- • Token used for all requests
- • Automatic token refresh
Guest Authentication Endpoint
POSTCreate an anonymous player session
Authentication Examples
Guest Authentication
Request Schema
Parameters for guest authentication
Response Schema
Authentication response structure
SDK Usage
The SDK handles authentication automatically
SDK Authentication
Note: The SDK automatically handles token refresh and retry logic. You don't need to manually manage authentication in most cases.