Skip to content
AGG SYSTEM360
Docs

Lobbies

Open our ready-made lobbies inside your site: Tournaments, Slots and Live Casino. Your server requests a URL for the player, your site shows it in an iframe (or redirects) and the lobby handles the rest: listing, search, tournament registration and game launch, in your brand colors.

Try it

Pick a lobby and a currency to see it loaded as your player would, and try a palette or your own colors to see the skin applied. The demo shows sample tournaments and games.

stops[0]
stops[1]
stops[2]
accent
text
border

Choose a lobby to load it here.

How it works

1

Your server calls GET /lobby with the player's data, the lobby to open and the signature in the X-CONTENT-KEY header.

2

We answer with a URL that already carries the player's session token.

3

Your site opens that URL in an iframe or redirects the player. Request a new URL every time the player enters the lobby.

Endpoint

EnvironmentURL
TestingGET https://dev-api.content360.games/lobby
ProductionGET https://api.content360.games/lobby

All parameters travel in the query string and the call carries the X-CONTENT-KEY signature header, like the rest of the API. Always call from your server.

Parameters

ParameterRequiredDescription
client_idYesYour Content360 client ID.
lobbyYesLobby to open: tournaments, slots or live-casino.
session_tokenYesThe player's session token on your platform. It is the one you get back in the calls to your wallet.
userYesThe player's unique ID on your platform (max. 40 characters).
usernameYesThe player's display name (max. 40 characters). It is shown masked in tournament leaderboards.
currencyYesThe player's currency, ISO 4217 (USD, ARS, BRL…).
languageYesLobby language: es_ES, pt_BR, en_US…
return_urlNoFull URL of your site the player returns to when leaving.
extra_data[skin]NoLobby colors (see Colors).

Do not send empty parameters: leave out the ones you do not use.

Response

{
  "status": "OK",
  "code": "200",
  "data": {
    "url": "https://lobby.content360.games/tournaments?token=9f3c2a7e5b1d4c8e9a0b1c2d3e4f5a6b"
  }
}

Open data.url as it is, in an iframe or by redirecting the player:

<iframe src="{data.url}" style="width:100%;height:100vh;border:0" allow="fullscreen"></iframe>
CodeCause
422A parameter is missing or has an invalid value; data.message lists the errors.
422Client authentication failed: the signature does not match.
500Internal error. Retry and, if it persists, tell your Content360 contact.

Tournaments lobby

Send lobby=tournaments. The player sees the tournaments available for your client and their currency, grouped into active, upcoming and finished, in the language you sent.

  • Tapping a tournament opens its detail: prizes, leaderboard, the player's position, terms and the participating games.
  • Registration happens on the detail screen, with the user and username you sent; there is nothing else to call.
  • The tournament games open from the same detail screen, with the player's session (session_token), and the bets reach your wallet like in any other game.
  • Only tournaments of providers you have active in that currency are shown.

Opening a tournament directly

To take the player to a tournament's detail (for example, from a banner), request the lobby URL as usual and build the link with the same token and the tournament ID:

https://lobby.content360.games/tournaments/detail?id={tournament_id}&token={token}

You get the tournament ID from the API's tournament list (GET /api/tournaments/get-by-currency-and-language, see the API documentation).

Slots and Live Casino lobbies

Send lobby=slots or lobby=live-casino. The player sees the games of the providers you have active in their currency, with categories, search, provider filter and favorites. Each game opens from the lobby with the player's session.

The order of providers and games, the featured games and the excluded ones are configured per client: ask your Content360 contact.

Colors

Colors go in extra_data[skin], with the same keys you already use in the sportsbook skin: you can send the same palette to both products. Colors are hexadecimal.

KeyWhat it colorsExample
stopsBackgrounds, from darkest to lightest (minimum 2, 3 recommended). The first is the page background, the second the one of cards and panels, and the last the one of secondary buttons and elements on hover.#0f1115
#171a21
#262a33
accentYour brand color: primary buttons, active tab, prizes and highlighted elements.#ff8000
textMain text. Secondary texts are derived from this color.#e8eaed
borderBorders and divider lines.#2e3440
inkText on primary buttons. If omitted, black or white is picked according to the accent.#111111

stops is required when you send skin; the rest is optional and, when missing, the lobby default color is used. The sportsbook keys active and muted are accepted, but the lobbies do not use them.

Where each color applies

The schematic uses the palette picked in the demo.

Example

The object you send inside extra_data:

"extra_data": {
  "skin": {
    "stops": ["#0f1115", "#171a21", "#262a33"],
    "accent": "#ff8000",
    "text": "#e8eaed",
    "border": "#2e3440"
  }
}

Since the call is a GET, each value travels in the query string with brackets, and # encoded as %23:

extra_data%5Bskin%5D%5Bstops%5D%5B0%5D=%230f1115&extra_data%5Bskin%5D%5Bstops%5D%5B1%5D=%23171a21&extra_data%5Bskin%5D%5Bstops%5D%5B2%5D=%23262a33&extra_data%5Bskin%5D%5Baccent%5D=%23ff8000

Notes

  • Lobbies are enabled per client and currency. If the URL returns 404, ask your Content360 contact to enable them for that currency.
  • Every call to /lobby creates a new session for the player. Do not store or reuse the URL across visits or players.
  • The colors are tied to that session: they are kept when moving from the list to the tournament detail.
  • In testing, the returned URL points to dev-lobby.content360.games; in production, to lobby.content360.games.