Skip to content

List Active Games

GET /v1/games

Returns all active game mechanics available for users to play.

HeaderRequiredValue
X-API-KeyYesYour public key
Terminal window
curl -X GET https://api.gamifyhost.com/v1/games \
-H "X-API-Key: pk_live_your_public_key"

Status: 200 OK

{
"message": "Active games retrieved",
"code": 200,
"status": "success",
"data": [
{
"gameType": "NEON_WHEEL",
"name": "Neon Wheel",
"description": "Spin the neon wheel to win rewards",
"pointsToUnlock": 100,
"status": "ACTIVE",
"imageUrl": "https://res.cloudinary.com/.../neon-wheel.jpg"
},
{
"gameType": "COSMIC_SLOTS",
"name": "Cosmic Slots",
"description": "Match cosmic symbols for prizes",
"pointsToUnlock": 150,
"status": "ACTIVE",
"imageUrl": "https://res.cloudinary.com/.../cosmic-slots.jpg"
},
{
"gameType": "ENIGMA_BOXES",
"name": "Enigma Boxes",
"description": "Pick a mystery box to reveal your reward",
"pointsToUnlock": 100,
"status": "ACTIVE",
"imageUrl": "https://res.cloudinary.com/.../enigma-boxes.jpg"
}
]
}
FieldTypeDescription
gameTypestringOne of NEON_WHEEL, COSMIC_SLOTS, ENIGMA_BOXES
namestringDisplay name
descriptionstringShort description
pointsToUnlockintegerPoints required to play once
statusstringAlways ACTIVE for this endpoint
imageUrlstringOptional cover image URL