Open the client by URL, in an iframe or a new window:
https://pokerpro.rexplay.site/?token=<player token>&embed=true&lang=en&returnUrl=https%3A%2F%2Fcasino.example%2Flobby
| Parameter | Required | Meaning |
|---|---|---|
token | yes, for real play | The player token from POST /players (see Server API). The client logs the player in with it and opens the lobby. sessionToken is accepted as an alias |
embed | no | true when the client runs inside your page |
lang | no | en or ru. locale is accepted as an alias |
returnUrl | no | Where the “back to casino” button sends the player. return_url is accepted as an alias |
tableId | no | Open this table instead of the lobby |
demo | no | true opens a demo session without a token |
<iframe src="https://pokerpro.rexplay.site/?token=<player token>&embed=true&lang=en"
style="width: 100%; height: 600px; border: 0" allow="fullscreen"></iframe>