[{"data":1,"prerenderedAt":1007,"buildId":1008},["ShallowReactive",2],{"guide-lobbies-en-\u002Flobbies":3},{"id":4,"title":5,"body":6,"description":999,"extension":1000,"meta":1001,"navigation":1002,"path":1003,"seo":1004,"stem":1005,"__hash__":1006},"lobbies_en\u002Flobbies.md","Lobbies",{"type":7,"value":8,"toc":983},"minimark",[9,14,23,27,54,58,98,104,108,273,276,280,398,405,470,520,524,531,556,561,564,598,605,609,618,621,624,630,733,748,752,755,758,764,896,910,950,954,979],[10,11,13],"h2",{"id":12},"try-it","Try it",[15,16,17,18,22],"p",{},"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 ",[19,20,21],"code",{},"skin"," applied. The demo shows sample tournaments and games.",[10,24,26],{"id":25},"how-it-works","How it works",[28,29,30,44,49],"guide-steps",{},[31,32,33],"guide-step",{},[15,34,35,36,39,40,43],{},"Your server calls ",[19,37,38],{},"GET \u002Flobby"," with the player's data, the lobby to open and the signature in the ",[19,41,42],{},"X-CONTENT-KEY"," header.",[31,45,46],{},[15,47,48],{},"We answer with a URL that already carries the player's session token.",[31,50,51],{},[15,52,53],{},"Your site opens that URL in an iframe or redirects the player. Request a new URL every time the player enters the lobby.",[10,55,57],{"id":56},"endpoint","Endpoint",[59,60,61,74],"table",{},[62,63,64],"thead",{},[65,66,67,71],"tr",{},[68,69,70],"th",{},"Environment",[68,72,73],{},"URL",[75,76,77,88],"tbody",{},[65,78,79,83],{},[80,81,82],"td",{},"Testing",[80,84,85],{},[19,86,87],{},"GET https:\u002F\u002Fdev-api.content360.games\u002Flobby",[65,89,90,93],{},[80,91,92],{},"Production",[80,94,95],{},[19,96,97],{},"GET https:\u002F\u002Fapi.content360.games\u002Flobby",[15,99,100,101,103],{},"All parameters travel in the query string and the call carries the ",[19,102,42],{}," signature header, like the rest of the API. Always call from your server.",[10,105,107],{"id":106},"parameters","Parameters",[59,109,110,123],{},[62,111,112],{},[65,113,114,117,120],{},[68,115,116],{},"Parameter",[68,118,119],{},"Required",[68,121,122],{},"Description",[75,124,125,138,162,174,186,198,220,242,255],{},[65,126,127,132,135],{},[80,128,129],{},[19,130,131],{},"client_id",[80,133,134],{},"Yes",[80,136,137],{},"Your Content360 client ID.",[65,139,140,145,147],{},[80,141,142],{},[19,143,144],{},"lobby",[80,146,134],{},[80,148,149,150,153,154,157,158,161],{},"Lobby to open: ",[19,151,152],{},"tournaments",", ",[19,155,156],{},"slots"," or ",[19,159,160],{},"live-casino",".",[65,163,164,169,171],{},[80,165,166],{},[19,167,168],{},"session_token",[80,170,134],{},[80,172,173],{},"The player's session token on your platform. It is the one you get back in the calls to your wallet.",[65,175,176,181,183],{},[80,177,178],{},[19,179,180],{},"user",[80,182,134],{},[80,184,185],{},"The player's unique ID on your platform (max. 40 characters).",[65,187,188,193,195],{},[80,189,190],{},[19,191,192],{},"username",[80,194,134],{},[80,196,197],{},"The player's display name (max. 40 characters). It is shown masked in tournament leaderboards.",[65,199,200,205,207],{},[80,201,202],{},[19,203,204],{},"currency",[80,206,134],{},[80,208,209,210,153,213,153,216,219],{},"The player's currency, ISO 4217 (",[19,211,212],{},"USD",[19,214,215],{},"ARS",[19,217,218],{},"BRL","…).",[65,221,222,227,229],{},[80,223,224],{},[19,225,226],{},"language",[80,228,134],{},[80,230,231,232,153,235,153,238,241],{},"Lobby language: ",[19,233,234],{},"es_ES",[19,236,237],{},"pt_BR",[19,239,240],{},"en_US","…",[65,243,244,249,252],{},[80,245,246],{},[19,247,248],{},"return_url",[80,250,251],{},"No",[80,253,254],{},"Full URL of your site the player returns to when leaving.",[65,256,257,262,264],{},[80,258,259],{},[19,260,261],{},"extra_data[skin]",[80,263,251],{},[80,265,266,267,272],{},"Lobby colors (see ",[268,269,271],"a",{"href":270},"#colors","Colors",").",[15,274,275],{},"Do not send empty parameters: leave out the ones you do not use.",[10,277,279],{"id":278},"response","Response",[281,282,287],"pre",{"className":283,"code":284,"language":285,"meta":286,"style":286},"language-json shiki shiki-themes tokyo-night light-plus","{\n  \"status\": \"OK\",\n  \"code\": \"200\",\n  \"data\": {\n    \"url\": \"https:\u002F\u002Flobby.content360.games\u002Ftournaments?token=9f3c2a7e5b1d4c8e9a0b1c2d3e4f5a6b\"\n  }\n}\n","json","",[19,288,289,298,329,349,364,386,392],{"__ignoreMap":286},[290,291,294],"span",{"class":292,"line":293},"line",1,[290,295,297],{"class":296},"sryvt","{\n",[290,299,301,305,309,312,316,320,324,326],{"class":292,"line":300},2,[290,302,304],{"class":303},"seVI3","  \"",[290,306,308],{"class":307},"s5298","status",[290,310,311],{"class":303},"\"",[290,313,315],{"class":314},"se1Ul",":",[290,317,319],{"class":318},"sjW0f"," \"",[290,321,323],{"class":322},"sQlGG","OK",[290,325,311],{"class":318},[290,327,328],{"class":314},",\n",[290,330,332,334,336,338,340,342,345,347],{"class":292,"line":331},3,[290,333,304],{"class":303},[290,335,19],{"class":307},[290,337,311],{"class":303},[290,339,315],{"class":314},[290,341,319],{"class":318},[290,343,344],{"class":322},"200",[290,346,311],{"class":318},[290,348,328],{"class":314},[290,350,352,354,357,359,361],{"class":292,"line":351},4,[290,353,304],{"class":303},[290,355,356],{"class":307},"data",[290,358,311],{"class":303},[290,360,315],{"class":314},[290,362,363],{"class":296}," {\n",[290,365,367,370,374,376,378,380,383],{"class":292,"line":366},5,[290,368,369],{"class":303},"    \"",[290,371,373],{"class":372},"sTHA0","url",[290,375,311],{"class":303},[290,377,315],{"class":314},[290,379,319],{"class":318},[290,381,382],{"class":322},"https:\u002F\u002Flobby.content360.games\u002Ftournaments?token=9f3c2a7e5b1d4c8e9a0b1c2d3e4f5a6b",[290,384,385],{"class":318},"\"\n",[290,387,389],{"class":292,"line":388},6,[290,390,391],{"class":296},"  }\n",[290,393,395],{"class":292,"line":394},7,[290,396,397],{"class":296},"}\n",[15,399,400,401,404],{},"Open ",[19,402,403],{},"data.url"," as it is, in an iframe or by redirecting the player:",[281,406,410],{"className":407,"code":408,"language":409,"meta":286,"style":286},"language-html shiki shiki-themes tokyo-night light-plus","\u003Ciframe src=\"{data.url}\" style=\"width:100%;height:100vh;border:0\" allow=\"fullscreen\">\u003C\u002Fiframe>\n","html",[19,411,412],{"__ignoreMap":286},[290,413,414,418,422,426,429,432,436,438,441,443,445,448,450,453,455,457,460,462,465,467],{"class":292,"line":293},[290,415,417],{"class":416},"sjVF1","\u003C",[290,419,421],{"class":420},"s534T","iframe",[290,423,425],{"class":424},"siVm6"," src",[290,427,428],{"class":314},"=",[290,430,311],{"class":431},"sdezZ",[290,433,435],{"class":434},"sFKs2","{data.url}",[290,437,311],{"class":431},[290,439,440],{"class":424}," style",[290,442,428],{"class":314},[290,444,311],{"class":431},[290,446,447],{"class":434},"width:100%;height:100vh;border:0",[290,449,311],{"class":431},[290,451,452],{"class":424}," allow",[290,454,428],{"class":314},[290,456,311],{"class":431},[290,458,459],{"class":434},"fullscreen",[290,461,311],{"class":431},[290,463,464],{"class":416},">\u003C\u002F",[290,466,421],{"class":420},[290,468,469],{"class":416},">\n",[59,471,472,482],{},[62,473,474],{},[65,475,476,479],{},[68,477,478],{},"Code",[68,480,481],{},"Cause",[75,483,484,498,510],{},[65,485,486,491],{},[80,487,488],{},[19,489,490],{},"422",[80,492,493,494,497],{},"A parameter is missing or has an invalid value; ",[19,495,496],{},"data.message"," lists the errors.",[65,499,500,504],{},[80,501,502],{},[19,503,490],{},[80,505,506,509],{},[19,507,508],{},"Client authentication failed",": the signature does not match.",[65,511,512,517],{},[80,513,514],{},[19,515,516],{},"500",[80,518,519],{},"Internal error. Retry and, if it persists, tell your Content360 contact.",[10,521,523],{"id":522},"tournaments-lobby","Tournaments lobby",[15,525,526,527,530],{},"Send ",[19,528,529],{},"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.",[532,533,534,538,547,553],"ul",{},[535,536,537],"li",{},"Tapping a tournament opens its detail: prizes, leaderboard, the player's position, terms and the participating games.",[535,539,540,541,543,544,546],{},"Registration happens on the detail screen, with the ",[19,542,180],{}," and ",[19,545,192],{}," you sent; there is nothing else to call.",[535,548,549,550,552],{},"The tournament games open from the same detail screen, with the player's session (",[19,551,168],{},"), and the bets reach your wallet like in any other game.",[535,554,555],{},"Only tournaments of providers you have active in that currency are shown.",[557,558,560],"h3",{"id":559},"opening-a-tournament-directly","Opening a tournament directly",[15,562,563],{},"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:",[281,565,568],{"className":566,"code":567,"language":373,"meta":286,"style":286},"language-url shiki shiki-themes tokyo-night light-plus","https:\u002F\u002Flobby.content360.games\u002Ftournaments\u002Fdetail?id={tournament_id}&token={token}\n",[19,569,570],{"__ignoreMap":286},[290,571,572,576,579,582,584,587,590,593,595],{"class":292,"line":293},[290,573,575],{"class":574},"son3Q","https:\u002F\u002Flobby.content360.games\u002Ftournaments\u002Fdetail",[290,577,578],{"class":314},"?",[290,580,581],{"class":424},"id",[290,583,428],{"class":314},[290,585,586],{"class":322},"{tournament_id}",[290,588,589],{"class":314},"&",[290,591,592],{"class":424},"token",[290,594,428],{"class":314},[290,596,597],{"class":322},"{token}\n",[15,599,600,601,604],{},"You get the tournament ID from the API's tournament list (",[19,602,603],{},"GET \u002Fapi\u002Ftournaments\u002Fget-by-currency-and-language",", see the API documentation).",[10,606,608],{"id":607},"slots-and-live-casino-lobbies","Slots and Live Casino lobbies",[15,610,526,611,157,614,617],{},[19,612,613],{},"lobby=slots",[19,615,616],{},"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.",[15,619,620],{},"The order of providers and games, the featured games and the excluded ones are configured per client: ask your Content360 contact.",[10,622,271],{"id":623},"colors",[15,625,626,627,629],{},"Colors go in ",[19,628,261],{},", with the same keys you already use in the sportsbook skin: you can send the same palette to both products. Colors are hexadecimal.",[59,631,632,645],{},[62,633,634],{},[65,635,636,639,642],{},[68,637,638],{},"Key",[68,640,641],{},"What it colors",[68,643,644],{},"Example",[75,646,647,673,688,703,718],{},[65,648,649,654,657],{},[80,650,651],{},[19,652,653],{},"stops",[80,655,656],{},"Backgrounds, 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.",[80,658,659,662,665,668,670],{},[19,660,661],{},"#0f1115",[663,664],"br",{},[19,666,667],{},"#171a21",[663,669],{},[19,671,672],{},"#262a33",[65,674,675,680,683],{},[80,676,677],{},[19,678,679],{},"accent",[80,681,682],{},"Your brand color: primary buttons, active tab, prizes and highlighted elements.",[80,684,685],{},[19,686,687],{},"#ff8000",[65,689,690,695,698],{},[80,691,692],{},[19,693,694],{},"text",[80,696,697],{},"Main text. Secondary texts are derived from this color.",[80,699,700],{},[19,701,702],{},"#e8eaed",[65,704,705,710,713],{},[80,706,707],{},[19,708,709],{},"border",[80,711,712],{},"Borders and divider lines.",[80,714,715],{},[19,716,717],{},"#2e3440",[65,719,720,725,728],{},[80,721,722],{},[19,723,724],{},"ink",[80,726,727],{},"Text on primary buttons. If omitted, black or white is picked according to the accent.",[80,729,730],{},[19,731,732],{},"#111111",[15,734,735,737,738,740,741,543,744,747],{},[19,736,653],{}," is required when you send ",[19,739,21],{},"; the rest is optional and, when missing, the lobby default color is used. The sportsbook keys ",[19,742,743],{},"active",[19,745,746],{},"muted"," are accepted, but the lobbies do not use them.",[557,749,751],{"id":750},"where-each-color-applies","Where each color applies",[15,753,754],{},"The schematic uses the palette picked in the demo.",[557,756,644],{"id":757},"example",[15,759,760,761,315],{},"The object you send inside ",[19,762,763],{},"extra_data",[281,765,767],{"className":283,"code":766,"language":285,"meta":286,"style":286},"\"extra_data\": {\n  \"skin\": {\n    \"stops\": [\"#0f1115\", \"#171a21\", \"#262a33\"],\n    \"accent\": \"#ff8000\",\n    \"text\": \"#e8eaed\",\n    \"border\": \"#2e3440\"\n  }\n}\n",[19,768,769,782,794,835,853,871,887,891],{"__ignoreMap":286},[290,770,771,773,775,777,780],{"class":292,"line":293},[290,772,311],{"class":318},[290,774,763],{"class":322},[290,776,311],{"class":318},[290,778,779],{"class":574},": ",[290,781,297],{"class":296},[290,783,784,786,788,790,792],{"class":292,"line":300},[290,785,304],{"class":303},[290,787,21],{"class":307},[290,789,311],{"class":303},[290,791,315],{"class":314},[290,793,363],{"class":296},[290,795,796,798,800,802,804,807,809,811,813,816,818,820,822,824,826,828,830,833],{"class":292,"line":331},[290,797,369],{"class":303},[290,799,653],{"class":372},[290,801,311],{"class":303},[290,803,315],{"class":314},[290,805,806],{"class":296}," [",[290,808,311],{"class":318},[290,810,661],{"class":322},[290,812,311],{"class":318},[290,814,815],{"class":314},",",[290,817,319],{"class":318},[290,819,667],{"class":322},[290,821,311],{"class":318},[290,823,815],{"class":314},[290,825,319],{"class":318},[290,827,672],{"class":322},[290,829,311],{"class":318},[290,831,832],{"class":296},"]",[290,834,328],{"class":314},[290,836,837,839,841,843,845,847,849,851],{"class":292,"line":351},[290,838,369],{"class":303},[290,840,679],{"class":372},[290,842,311],{"class":303},[290,844,315],{"class":314},[290,846,319],{"class":318},[290,848,687],{"class":322},[290,850,311],{"class":318},[290,852,328],{"class":314},[290,854,855,857,859,861,863,865,867,869],{"class":292,"line":366},[290,856,369],{"class":303},[290,858,694],{"class":372},[290,860,311],{"class":303},[290,862,315],{"class":314},[290,864,319],{"class":318},[290,866,702],{"class":322},[290,868,311],{"class":318},[290,870,328],{"class":314},[290,872,873,875,877,879,881,883,885],{"class":292,"line":388},[290,874,369],{"class":303},[290,876,709],{"class":372},[290,878,311],{"class":303},[290,880,315],{"class":314},[290,882,319],{"class":318},[290,884,717],{"class":322},[290,886,385],{"class":318},[290,888,889],{"class":292,"line":394},[290,890,391],{"class":296},[290,892,894],{"class":292,"line":893},8,[290,895,397],{"class":296},[15,897,898,899,902,903,906,907,315],{},"Since the call is a ",[19,900,901],{},"GET",", each value travels in the query string with brackets, and ",[19,904,905],{},"#"," encoded as ",[19,908,909],{},"%23",[281,911,913],{"className":566,"code":912,"language":373,"meta":286,"style":286},"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\n",[19,914,915],{"__ignoreMap":286},[290,916,917,920,922,925,927,930,932,935,937,940,942,945,947],{"class":292,"line":293},[290,918,919],{"class":574},"extra_data%5Bskin%5D%5Bstops%5D%5B0%5D=%230f1115",[290,921,589],{"class":314},[290,923,924],{"class":424},"extra_data%5Bskin%5D%5Bstops%5D%5B1%5D",[290,926,428],{"class":314},[290,928,929],{"class":322},"%23171a21",[290,931,589],{"class":314},[290,933,934],{"class":424},"extra_data%5Bskin%5D%5Bstops%5D%5B2%5D",[290,936,428],{"class":314},[290,938,939],{"class":322},"%23262a33",[290,941,589],{"class":314},[290,943,944],{"class":424},"extra_data%5Bskin%5D%5Baccent%5D",[290,946,428],{"class":314},[290,948,949],{"class":322},"%23ff8000\n",[10,951,953],{"id":952},"notes","Notes",[532,955,956,959,966,969],{},[535,957,958],{},"Lobbies are enabled per client and currency. If the URL returns 404, ask your Content360 contact to enable them for that currency.",[535,960,961,962,965],{},"Every call to ",[19,963,964],{},"\u002Flobby"," creates a new session for the player. Do not store or reuse the URL across visits or players.",[535,967,968],{},"The colors are tied to that session: they are kept when moving from the list to the tournament detail.",[535,970,971,972,975,976,161],{},"In testing, the returned URL points to ",[19,973,974],{},"dev-lobby.content360.games","; in production, to ",[19,977,978],{},"lobby.content360.games",[980,981,982],"style",{},"html pre.shiki code .sryvt, html code.shiki .sryvt{--shiki-default:#9ABDF5;--shiki-light:#000000}html pre.shiki code .seVI3, html code.shiki .seVI3{--shiki-default:#89DDFF;--shiki-light:#0451A5}html pre.shiki code .s5298, html code.shiki .s5298{--shiki-default:#7AA2F7;--shiki-light:#0451A5}html pre.shiki code .se1Ul, html code.shiki .se1Ul{--shiki-default:#89DDFF;--shiki-light:#000000}html pre.shiki code .sjW0f, html code.shiki .sjW0f{--shiki-default:#89DDFF;--shiki-light:#A31515}html pre.shiki code .sQlGG, html code.shiki .sQlGG{--shiki-default:#9ECE6A;--shiki-light:#A31515}html pre.shiki code .sTHA0, html code.shiki .sTHA0{--shiki-default:#0DB9D7;--shiki-light:#0451A5}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html pre.shiki code .sjVF1, html code.shiki .sjVF1{--shiki-default:#BA3C97;--shiki-light:#800000}html pre.shiki code .s534T, html code.shiki .s534T{--shiki-default:#F7768E;--shiki-light:#800000}html pre.shiki code .siVm6, html code.shiki .siVm6{--shiki-default:#BB9AF7;--shiki-light:#E50000}html pre.shiki code .sdezZ, html code.shiki .sdezZ{--shiki-default:#89DDFF;--shiki-light:#0000FF}html pre.shiki code .sFKs2, html code.shiki .sFKs2{--shiki-default:#9ECE6A;--shiki-light:#0000FF}html pre.shiki code .son3Q, html code.shiki .son3Q{--shiki-default:#A9B1D6;--shiki-light:#000000}",{"title":286,"searchDepth":300,"depth":300,"links":984},[985,986,987,988,989,990,993,994,998],{"id":12,"depth":300,"text":13},{"id":25,"depth":300,"text":26},{"id":56,"depth":300,"text":57},{"id":106,"depth":300,"text":107},{"id":278,"depth":300,"text":279},{"id":522,"depth":300,"text":523,"children":991},[992],{"id":559,"depth":331,"text":560},{"id":607,"depth":300,"text":608},{"id":623,"depth":300,"text":271,"children":995},[996,997],{"id":750,"depth":331,"text":751},{"id":757,"depth":331,"text":644},{"id":952,"depth":300,"text":953},"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.","md",{},true,"\u002Flobbies",{"title":5,"description":999},"lobbies","FTatpF867ehbZzJZPbDAcCbBfudswtVyHoFD5FsQ3q4",1796151939480,"6f41789f-cb32-428c-bbc7-a127a81e9a4c"]