The HTTP API is available at: https://api.cloudns.net/
Note: For security reasons, you should always send API requests using HTTPS.
auth-id: Api user ID (See the instructions below for finding your API ID) or sub-auth-id: Api sub user ID (See the instructions below for finding the API ID) or sub-auth-user
auth-password: The password for API user ID or for API sub user ID.
Once saved, the system will automatically generate the auth-id (API user ID), which will appear in the users table.
Use the generated auth-id and the password you provided to authenticate API requests.
Note: Leaving the IP address field empty allows API access from any IP address. Only fill this in if you want to limit access to specific IPs for security.
The system will generate a sub-auth-id, which will appear in the sub-users table.
To authenticate with the API, the sub-user can use either the sub-auth-id or sub-auth-user, along with the password you set.
Note: Sub-users have more limited access compared to full API users. Their permissions and access can be customized during creation.
When the authenctication of API user is not correct, any API request will fail with the following status and statusDescription:
{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}
In case the credentials of API sub user are invalid, the following status and statusDescription will be returned:
{"status":"Failed","statusDescription":"Invalid authentication, incorrect sub-auth-id, sub-auth-user or auth-password."}
Note: These are example errors in JSON format.