Skip to content

Game Play API Overview

The Game Play API powers the embeddable widget and mobile SDKs. All endpoints require a public key via the X-API-Key header.

https://api.gamifyhost.com

Include your public key in every request:

X-API-Key: pk_live_your_public_key

See Authentication for details.

MethodPathDescription
GET/v1/gamesList active games
GET/v1/games/:gameType/configGet game configuration
POST/v1/games/playPlay a game
GET/v1/leaderboardGet leaderboard
GET/v1/users/:userId/sdk-balanceGet user balance
GET/v1/users/:userId/playsGet user play history
GameIdentifierDescription
Neon WheelNEON_WHEELSpin-the-wheel with weighted segments
Cosmic SlotsCOSMIC_SLOTSSlot machine with symbol matching
Enigma BoxesENIGMA_BOXESPick-a-box mystery reward

Every game play returns a reward object:

{
"tier": "rare",
"type": "cashback",
"value": 50,
"label": "$0.50 cashback"
}

Tiers: epic, rare, common

Types: cashback, xp, points, item, special