[GET] Launch Game Session
This endpoint creates new session and redirects request to game URL. It can be used as a static link to the game in DEMO mode.
const params = new URLSearchParams({
mode: 'real',
game: 'cosmoloot',
currency: 'EUR',
sessionId: 'sid-123',
playerId: 'pid-456',
timestamp: '1769000000',
}).toString();
// Value: 3f31a6485d374cbdf323392d104ce3b181d47c8493dea848e3c31f0d0344acce
const sig = crypto.createHmac('sha256', 'secret').update(params).digest('hex');
const url = `https://riddecgames.com/.../launch?${params}&signature=${sig}`;Game identifier
cosmolootCurrency code. Required for real sessions.
EURUnique session ID. Required for real sessions.
session-123Unique player ID. Required for real sessions.
player-456Player nickname
JohnDoe123Unix timestamp of the request. Required for real sessions.
1767225600HEX-encoded HMAC signature of the query (excluding this signature). Required for real sessions.
0123deadbeefPlayer's device type
desktopPossible values: Player's IP address
ISO 3166-1 alpha-2 country code
DERFC 5646 language tag
en-USA URL to which the player will be redirected after the game session is finished
https://example.comA URL to which the player will be redirected after the game session is finished
https://example.comBrand that is launching the game
sample_casinoRedirect to new game session
Invalid request data
Invalid or missing signature
Game or integration not found
Internal server error
No content
Last updated