JSON Login API for ClouDNS Reseller Panel

Description

Checks the login credentials and provides status and session ID for further login of the client.


 Parameters

Name Data Type Status Description
user String Required API sub-user ID or username
pass String Required API password for the sub-user

Return: Array with status and:

  • message if the login is unsuccessful;
  • sid (session id) if the login is successful. The sid paramter can be used for further SSO login.

Example requests:

URL: https://panel.cloudns.net/api/json/login/
POST/GET: user=0&pass=PASSWORD

URL: https://panel.cloudns.net/api/json/login/
POST/GET: user=USERNAME&pass=PASSWORD

Example responses:

If the login credentials are wrong:

{"status":0,"message":"Invalid authentication, incorrect sub-auth-id, sub-auth-user or auth-password."}

If the login credentials are correct:

{"status":1,"sid":"somehash"}

 


Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more