Learn how to authenticate with the CrateBytes Game API using Steam or guest authentication.
/api/game/auth/
.
POST /api/game/auth/guest
Request Body:
publicKey
(required): Your project’s public key for identificationplayerId
(optional): Custom player ID. If not provided, one will be generatedPOST /api/game/auth/steam
Request Body:
publicKey
(required): Your project’s public key for identificationsteamAuthTicket
(required): Steam authentication ticket from the Steam APIsequentialId
for internal tracking