Skip to main content

Get Promo Game List

Request

URI: /getPromoGameList

Example usage: https://{base_url}/getPromoGameList?{parameters}

The request is executed using the GET method.

This method allows you to get a list of games with a tournament type.

Request parameters

NameTypeRequiredDescription
providerstringNoThe unique ID of provider
typestringNoIf parameter is absent, return all games. Live = only live games, Slot = only slot games.
Accepted values: live, slot

Response parameters

NameTypeRequiredDescription
statusbooleanYesResponse status code for Call back API
Accepted values: true, false
gamesarrayYesArray with games list and information
games.idintegerYesGame ID
games.namestringYesGame provider name + tournament
games.providerIdintegerYesProvider ID
games.categorystringYesGame category
errorsobjectNoDescription of errors in case status = false
errors.errorstringNoError description

Example of a successful response

Response: /getPromoGameList
{
"games": [
{
"id": 1035632,
"name": "Pragmatic Tournaments",
"providerId": 270,
"category": "Tournaments"
},
{
"id": 1035633,
"name": "GameArt Tournaments",
"providerId": 340,
"category": "Tournaments"
}
]
}

Example of an unsuccessful response

Response: /getPromoGameList
{
"status": false,
"errors": {
"error": "Description"
}
}