Authentication
The CrateBytes API offers Steam Authentication for secure logins with Steam accounts and Guest Authentication for access without registration.
Guest Authentication
Guest Authentication allows users to access the CrateBytes API without needing to register or link a Steam account. This method provides a seamless way for new users to get started while still ensuring that each player has a unique identifier within the system.
Endpoint
The project key for the game.
The player ID for an existing player. This parameter is optional and should be used if you want to log in to an existing player account.
Response
Token that can be used to authenticate the player in future requests.
The player ID for the authenticated player used to log in to the player. account
Example Response
Steam Authentication
Steam Authentication allows users to log in to the CrateBytes API using their Steam accounts. This method leverages Steam’s secure authentication system to ensure that the player’s identity is verified.
You have to add your steam publisher key and steam appid in your project settings
Endpoint
The project key for the game.
The Steam authentication ticket received from the Steam client.
Response
Token that can be used to authenticate the player in future requests.
The player ID for the authenticated player.