New user?
REGISTER NOW!

Returning user?
SIGN IN!


Forgot your password?


It's completely free!

OR

ANDROID DEV
Register here

Forgot your password?


Loading...
OR

You're one step closer to becoming a Aptoider!

We will send you a confirmation email to

In the meantime please continue to the final registration step.


Continue to final step Ups... wrong email...

Need to contact us?

Please insert an email address Password must:<br>- have 8 characters minimum<br>- have one letter<br>- have one number OR one special character (!@#$%*) This url is invalid, please enter a valid one. Use only letters, numbers and/or dashes. No spaces please! Please insert a name Business Name should be smaller than 40 characters. Please insert an address. Please insert a company name. Please insert a valid country. Please insert a valid phone number. Please insert a valid phone number. Please insert a city. Please insert a zip/postal code. Please insert a tax ID / VAT. You must agree with terms of use. You must select one option RETRY JOIN NOW https://www.aptoide.com/phpajax/onboarding.php
This website uses cookies to improve service quality. By browsing this website, you are consenting the use of cookies.
I understand Learn more
OK

Web Services Documentation

Validating user login credentials

This endpoint is deprecated. See: https://www.aptoide.com/webservices/docs/3/oauth2Authentication

URLS:

POST

GET

Supported Formats:

JSON XML

Supported Methods:

GET POST

Description:

Validates user login credentials.

Arguments:

user User id (email)
passhash SHA1 hash of the user password
repo Repository name
mode Return mode/format ('xml' or 'json')

Response:

status Request result status (OK or FAIL)
token The user dev token (not existent when status!="OK")
repo "repo" value or default user repository/store otherwise
avatar Avatar URL for returned "repo" repository/store
errors Errors log from the request (not existent when status="OK")

Using the Web Service (examples):

Sample Response - XML:

Sample success

<response>
   <status>OK</status>
   <token>57f31fbd02d19ebf59b282aca416ff80ff6a74964e2953db5f674</token>
   <repo>my-store</repo>
   <avatar>
      http://www.aptoide.com/apks/8/aptoide-f63c6f2461f65f32b6d144d6d2ff982e/my-store/avatar/c00a653c809761f5bedbad2f2c4dc7e7.png
   </avatar>
</response>

Sample Response - JSON:

Sample success

{
   "status": "OK",
   "token": "57f31fbd02d19ebf59b282aca416ff80ff6a74964e2953db5f674",
   "repo": "my-store",
   "avatar": "http://www.aptoide.com/apks/8/aptoide-f63c6f2461f65f32b6d144d6d2ff982e/my-store/avatar/c00a653c809761f5bedbad2f2c4dc7e7.png"
}