User Information

Url: https://api.playkey.net/rest/PlaykeyAPI.svc/user/info

HTTP Method: POST

The following is an description request Json body:

lang - Display language
api_version - API version (default equal 1)
ga_clientId - Google Analytics ID
token - Authentication token

The following is an example request Json body:

{
    "lang": "lang",
    "api_version": 161015692,
    "ga_clientId": "gaclientid",
    "token": "token"
}

Description of how to response:

error - Error information
    code - Error code. Error 0 - no error
    message - Error message. Empty if none

The following is an example response Json body:

{
    "error": {
        "code": 0,
        "message": "string"
    },
    "email": null,
    "login": null,
    "id": 0,
    "is_confirmed": false,
    "region_code": null,
    "is_anonymous": false,
    "kohorts": [
        
    ],
    "is_active_referral": false,
    "partners": null,
    "external_game_platforms": null
}

The following is an example response Xml body:

<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <error>
    <code>0</code>
    <message>string</message>
  </error>
  <email i:nil="true" />
  <login i:nil="true" />
  <id>0</id>
  <is_confirmed>false</is_confirmed>
  <region_code i:nil="true" />
  <is_anonymous>false</is_anonymous>
  <kohorts />
  <is_active_referral>false</is_active_referral>
  <partners i:nil="true" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <external_game_platforms i:nil="true" xmlns:a="http://schemas.datacontract.org/2004/07/XMLGen.Classes.Elements" />
</result>