Skip to content
Back office

Game Launch

This is an API used to retrieve the launch link for a casino player.

Markdown

Launch Game

Launches a slot or live game and returns a URL for the player.

Endpoint

POST https://api.nexusggr.com

Content-Type: application/json

Request

Method: game_launch

Slot game

JSON
{
    "method": "game_launch",
    "agent_code": "your_agent_code",
    "agent_token": "your_agent_token",
    "user_code": "test",
    "provider_code": "PRAGMATIC",
    "game_code": "vs20doghouse",
    "lang": "en",
    "rtp": 92,
    "lobby_url": "https://your-site.com/lobby"
}

Live game

JSON
{
    "method": "game_launch",
    "agent_code": "your_agent_code",
    "agent_token": "your_agent_token",
    "user_code": "test",
    "provider_code": "EVOLUTION",
    "game_code": "nxpkul2hgclallno",
    "lang": "en",
    "lobby_url": "https://your-site.com/lobby"
}

For live games, game_code is optional. When empty, a lobby URL is returned.

FieldTypeRequiredDescription
methodstringYesMust be game_launch
agent_codestringYesYour agent code
agent_tokenstringYesYour agent API token
user_codestringYesPlayer identifier, no whitespace
provider_codestringYesProvider code
game_codestringOptionalGame code (optional for live lobby)
langstringYesLanguage code (e.g. en)
rtpnumberNoTarget RTP for this launch, 0 or more; a value above 999 is treated as 999. Not used for live or sports games. If omitted or 0, the user's configured RTP is used
lobby_urlstringNoURL to redirect the player when they exit the game. Omit it if there is none: an empty string is rejected

Response

Success

JSON
{
    "status": 1,
    "code": 7777777,
    "msg": "SUCCESS",
    "fc_code": "fc1024",
    "launch_url": "http://pragmaticplay.oaxznmnojw.net/...",
    "token": "9f2b6c1e7a4d3f8b0c5e2a1d6b7f4c3e"
}

Failure

JSON
{
    "status": 0,
    "code": 7770407,
    "msg": "provider_code EVOLUTION is currently disabled"
}