General Configuration

Versi Bahasa Indonesia

General Configuration

SRS-X provides API that makes developer abble to access SRS-X using their own application. Only registered IP address(es) is allowed to access SRS-X’s API.

To add your IP address, login to your reseller account and go to menu Configuration >> General Setting, switch to API tab and enter your application’s IP address that will access SRS-X’s API.

On each connection to API, there are at least two required parameters:

API Username

API Password

You can find your API Username and password by following this link :


$post["username"] = 'apiusername';
$post["password"] = hash('sha256','apipassword');

$url = 'http://[reseller url]/api/domain/register';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $apiurl);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 100);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);