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, 8 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

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