Příklad v PHP pro funkci mailkit.mailinglist.list
$client_id = '69600012';
$password = 'wAlwee4ejgajsdS7vWLNQoQ';
$request = xmlrpc_encode_request("mailkit.mailinglist.list",
array($client_id, $password));
$context = stream_context_create(array('http' => array(
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
)));
$file = file_get_contents("https://api.mailkit.eu/rpc.fcgi", false,$context);
$response = xmlrpc_decode($file);
if ($response && xmlrpc_is_fault($response)).
{
trigger_error("xmlrpc: $response[faultString] ($response[faultCode])");
}.
else.
{
print_r($response);
}