Authorization

Url: https://api.playkey.net/rest/PlaykeyAPI.svc/user/auth/captcha/get

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
login - Login

The following is an example request Json body:

{
    "lang": "lang",
    "api_version": 2008574017,
    "ga_clientId": "gaclientid",
    "login": "login"
}

Description of how to response:

error - Error information
    code - Error code. Error 0 - no error
    message - Error message. Empty if none
show_captcha - Is captcha need to be shown
captcha_public_key - Captcha public key

The following is an example response Json body:

{
    "error": {
        "code": 0,
        "message": "string"
    },
    "show_captcha": true,
    "captcha_public_key": "string"
}

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>
  <show_captcha>true</show_captcha>
  <captcha_public_key>string</captcha_public_key>
</result>