POST https://sketchub.in/api/v2/login.php
POST
https://sketchub.in/api/v2/login.php
Validates the user authentication. Sketchub need HCaptcha token which can be generated using provided site key:
Use provided Hcaptcha site key to generate response token.
Use provided RSA public key to encrypt email & password.
Body
email
string
RSA Encrypted email
password
RSA Encrypted password
hcaptcha_response
Token value when client solves Sketchub's Hcaptcha challenge
login
boolean
The value must be true to get a response.
true
api_key
Your API Key
Response
{ "status": "success", "message": "Login Successful", "uid": 30 }
When login is successful, it is recommended to save only encrypted email and password for all other requests.
You must discard the non-encrypted credentials for security reason.
Last updated 1 year ago