Aukro WebAPI


This method allows for authentication and authorisation of a user using account access data (login or e-mail address and password in the encrypted form). After successful authentication, the user receives a session identifier which can then be used when calling methods requiring authorisation. The session identifier is valid for one hour from its creation.

  1. userLogin | String | required
    Username (1-16 characters) or e-mail address.
  2. userHashPassword | String | required
    Encrypted user's password (first encrypted with sha-256, then with base64).
  3. countryId | Integer | required
    Country identifier (a list of country identifiers can be loaded using the doGetCountries method).
  4. webapiKey | String | required
    User's WebAPI key.
  5. localVersion | Long
    Version key relevant for a selected country and WebAPI key provided.
  1. sessionHandlePart | String | required
    Session identifier.
  2. userId | Long
    Logged user identifier
  3. serverTime | Long
    Current server time (in the Unix time format)
    Indicated account has been closed and you cannot log in.
    Access to WebAPI has been blocked due to significant number of failed attempts of logging in. The access will be unblocked after a successful logging in on Login page.
    Invalid country identifier (zero or empty value has been provided in the parameter).
    Invalid key version value.
    Junior account user cannot log in to the indicated country.
    User calling the method is not on a list of users allowed to use an API key with enabled license mechanism.
    Problems with Allegro database.
    Problems with authorization mechanism or a user has terminated the User Agreement.
    Due to security reasons, please create new password to your Allegro account. In order to provide required changes, log in and then follow displayed instructions.
    You cannot log in during account migration to the Sale Manager.
    Incorrect password.
    Expiry date of WebAPI key has been exceeded.
    Invalid value of WebAPI key or WebAPI key has been blocked.
    The WebAPI key has been deactivated (User Agreement not accepted).
    Problems with Aukro WebAPI service.