When making changes to your store using the our webservices you'll need to authenticate first in order to obtain an access_token that can be used to authenticate your later requests. You can see the full documentation here.
______________________________________________________
Getting an access token: email and password
You can authenticate sending as parameters your email and password. You also need to set the parameter grant_type to "password" and client_id to "Aptoide". You can send your password in clear text or encoded in SHA1.
Example Request
1 |
curl -H 'Content-Type: application/json' \ |
If all goes well you get your access_token in the body of the response.
Example Response
1 |
{ |
If your authentication is invalid you'll get the following response.
1 |
{ |
Getting an access token: the refresh token
When your access token expires you can get a new one by sending the refresh token you previously got. You'll need to set the grant_type parameter to "refresh_token" and refresh_token to your refresh_token, and send client_id as previously.
Example Request
1 |
curl -H 'Content-Type: application/json' \ |
Comments
9 comments
Hello! How can i get access_token use google OAuth2
My app not upload
Çok fazla yabancı terim var bunu yazılımcı dışında biri yapamaz ,
Boa
My information was leaked to the Dark Web from your sight. Please fix this.
Thanks
Jerry Wallace
teedoffon1@gmail.com
My information was leaked to the Dark Web from your sight. Please fix this.
Thanks
Jerry Wallace
teedoffon1@gmail.com
Example Request
-X POST 'http://www.aptoide.com/webservices/3/oauth2Authentication' \
-d '{
"grant_type":"password",
"client_id":"Aptoide",
"mode":"json",
"username":"junaid.memu@gmail.com",
"password":"Inspirons6900"
}'
Watsup not instol
can I get permission to upload app?
Please sign in to leave a comment.