API Docs

Get to know get_welcome_mails

Overview: get_welcome_mails returns all welcome e-mails sent to a client. If the optional parameter 'service_ids' is provided the results are limited to provided service ids.

get_welcome_mails expects the following parameters:

  • [service_ids] – Optional. A list of service id's to limit the response to.

Example:

$params = array(
	    'service_ids' => array(34238, 34679)
	);
$api->call('client.get_welcome_mails', $params);

Output:

Array
	(
	    [status] => 1
	    [data] => Array
	        (
	            [0] => Array
	                (
	                    [timestamp] => 1361983998
	                    [service_id] => 34238
	                    [ticket_id] => 370468
	                    [contents] => Firstname Lastname,

	Welcome to Ubiquity! I have information regarding your new dedicated server, which is listed below.
	...
	Best regards,

	Ubiquity Deployments Team
	by Nobis Technology Group, LLC
	                )
	        )
	)