API Docs

Get to know get_welcome_emails

Overview: Retrieves all welcome emails associated with a VM.

welcome_emails expects the following parameters:

  • vm_id – The identifier of the VM you want to retrieve the welcome emails from.

Example:

$params = array(
        'vm_id' => 1
        );
$api->call('cloud.welcome_emails', $params);

Output:

Array
(
    [status] => 1,
    [data] =>
		Array (
			[id]      => 1
			[send_to] => youremail@emaildomain.com
			[subject] => Welcome To Ubiquity Cloud!
			[body]	  => Hello Name, ...
			[date]    => 1405959194
			...
	)
)