Get all subscriber lists of a client


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


freshface, 8 years ago

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


//-----------------------------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();


Gives NULL

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free