Learn about the CrateBytes Game API and how to interact with it.
The CrateBytes Game API offers Steam Authentication for secure logins with Steam accounts and Guest Authentication for access without registration using project public keys.
Manage player sessions with the CrateBytes Game API for tracking player activity and engagement. Start, maintain, and end player sessions.
Implement global leaderboards and rankings with the CrateBytes Game API to boost player competitiveness and engagement. Submit scores and retrieve rankings.
Store and retrieve player metadata with the CrateBytes Game API. Manage player-specific data and settings.
All Game API endpoints are prefixed with /api/game/
.
Most endpoints require authentication using a JWT token obtained from the authentication endpoints. Include the token in the Authorization header:
All API responses follow a consistent format:
Errors are returned with appropriate HTTP status codes and error messages: