Skip to main content

Setting up the API

Before you start integration, you need to get the following information from us:

  • API_URL – the URL to get access to the API;
  • CLIENT_ID – the ID of your casino that will be passed in the queries;
  • SECRET_KEY – the secret key to sign the queries.

Additionally, there may be a userId value that will be passed when calling the API methods. It is the value of your internal userId or userId of your system.

Setting up authorization for native applications

If you are going to use our native client applications, you will need to provide a URL to the user authentication page. This page should contain the login form with the Login and Cancel buttons. If a user clicks “Cancel”, a special URL poker://on-close should be used.

When a user clicks “Login”, the following operations should be executed:

  • user authorization in your system
  • if the authorization was successful, a session should be created through our API. It is also necessary to pass “internal” as the authType parameter value.
  • after that, the user should be redirected to the redirect_url that is received in response after the session was created.

The login page design should be adjusted to mobile devices and correctly open for the following sizes:

  • desktop: 340х210
  • tablet (resolution1024х768): 558х610
  • mobile (resolution 640х1136): 610х610