API Docs

Explore the functions.

Control your servers via our easy-to-use API system.

Ubiquity offers an easy to use API for our customers that need a little bit more control to get exactly what they're looking for.

Below you'll find a very simple example to get you started. This allows resellers to easily interface with our systems directly from their internal systems.


<?php

require_once('libs/api.ubiquityv2.php');

$api = new ubiquityV2(000, 'ubic-000', 'xxxxxxxxxx');

$params = array();

try {
	print_r($api->call('client.get', $params));
}
catch (Exception $e) {
	echo "ERROR CALLED: \n";
	echo $e->getCode() . ': ' . $e->getMessage();
}

?>