Get all subscriber lists of a client

Hi

I want to retrieve all the subscriber lists (+list id) of a client.
Is that possible to do with the current php api?

Regards

freshface, 7 years ago
<?php

ini_set ('display_errors', 1);
error_reporting (E_ALL);

require_once('CMBase.php');

//-----------------------------INPUT PARAMS---------------------------------------

$apikey = '';
$clientid = '';        

//-------------------------------------------------------------------------------    
    
    $cm = new CampaignMonitor( $apikey, $clientid);
    
    //Optional statement to include debugging information in the result
    $cm->debug_level = 1;
    
    //This is the actual call to the method
    $result = $cm->clientGetListsDropdown();

    var_dump($result);
    
?>

Gives NULL

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098