Skip to main content


Rackcorp has migrated many of its functionalities to work with REST API architecture to modernize and make easy the process to get data through HTTP protocol. Every month we are adding new services through REST API. It is important you follow us to get the last updates and the last version of our API.

API Information:

Current Version: v2.7


Before you start to create any code or connect through our API, you need to create an API Key access which allow your code makes HTTP request to our end and be authorized to get data from your customers. We will explain how you add this API Key in your code.

Path to create your key in our portal:

Them, you click ADD, type a name for this new Key and a secret ( password ) and SAVE.

API Standards:

As described in some articles about REST API, there is no definitive standard patterns that all engineers should follow to create REST API for their app. In Rackcorp we keep things simple. The main structure for our REST API is the URL which follows the patters below:

version: v2.7

main URL:

object data: customers | dcs | network | api | dns | devices

URL format: data/+ID item

Example GET all data:

Example GET one Item: 

Bellow we add some code which you can use as example to implement your first REST API connection to our platform:

In this simple introduction to code REST API, we will use PHP and PYTHON programming language.


In the sample bellow we add a dummy API KEY and API SECRET. Please, change this data accordingly with your data


$v = 'v2.7';
$url = "". $v . "/customers";
$query = [];
$query['APIUUID'] = "";
$query['APISECRET'] = "";

$curl = curl_init($url);
curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($query));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($curl);

if($response) {
return json_decode($response, true);

return false;