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

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098