Management APIActive games

Get active games

This endpoint helps clients identify which games, on which brands, currently have an active tournament.
It can be used to:

  1. Send game rounds to us selectively, allowing clients to transmit only relevant game data. This reduces the volume of data sent by avoiding unnecessary submissions for games without tournaments.
  2. Display the in-game UI widget only in games that currently have (or will soon have) tournaments.

Note: Use of this endpoint is optional but strongly recommended for clients with a large player base or high volume of game transactions.

Please note that using this endpoint will render the tournament performance reports (Before/During/After) within Gamity unusable, as Gamity will not receive sufficient data for meaningful comparisons.
Clients are generally expected to use their own business analytics systems to generate these reports if needed.

This represents a trade-off between having access to these reports within Gamity and minimizing the volume of data sent.

Interactive swagger page (under the “External” group): Swagger UI

Example request

GET https://qa-ec1.transaction-api.gamity.io/external/{INTEGRATION_ID}/active-games
X-API-Key: {ask from Codemodity}

Example Response

[
    {
        "gameId": "PNG_GUNSLINGER_RELOADED",
        "brandIds": ["brand1", "brand2"]
    },
    {
        "gameId": "EVO_ANDAR_BAHAR_1",
        "brandIds": ["brand3"]
    }
]

Response fields

FieldTypeDescription
gameIdstringUnique identifier for the game.
brandIdsstring[]Unique identifiers of all brands the game is currently used in a tournament.

Response codes

HTTP Status CodeDescription
200OK - The request was successfully processed.
401Unauthorized - The API key is missing or invalid.