Game Launch
This is an API used to retrieve the launch link for a casino player.
Endpoint
POST
https://{API_ENDPOINT}
Request Body
{
"method": "game_launch",
"agent_code": "testAgent",
"agent_token": "41f5cc794aef2b138c715cf25f767cc1",
"user_code": "testUser",
"provider_code": "PRAGMATIC",
"game_code": "vs20doghouse",
"lang": "en"
}
Name
Type
Description
method
string
The method type (game_launch
)
agent_code
string
The agent's code
agent_token
string
The agent's authentication token
user_code
string
The user's code
provider_code
string
Provider code (e.g., PRAGMATIC
).
game_code
string
The unique code or identifier for the game to be launched (e.g., vs20doghouse
).
lang
string
The language in which the game will be presented (e.g., en
for English).
In the live casino, if the game_code
is set to an empty string (""
), the response will return the lobby URL instead of a direct game URL.
Success Response Example
{
"status": 1,
"msg": "SUCCESS",
"launch_url": "http://pragmaticplay.ppgames.net/..."
}
Failure Response Example
{
"status": 0,
"msg": "INVALID_PROVIDER"
}
Last updated