You are here

function MCAPI::lists in Mailchimp 5.2

Same name and namespace in other branches
  1. 5 MCAPI.class.php \MCAPI::lists()
  2. 6.2 MCAPI.class.php \MCAPI::lists()
  3. 6 MCAPI.class.php \MCAPI::lists()
  4. 7 MCAPI.class.php \MCAPI::lists()

Retrieve all of the lists defined for your user account

Related

@example xml-rpc_lists.php

@returnf string id The list id for this list. This will be used for all other list management functions. @returnf string name The name of the list. @returnf date date_created The date that this list was created. @returnf integer member_count The number of active members in the given list.

Return value

array list of your Lists and their associated information (see Returned Fields for description)

File

./MCAPI.class.php, line 604

Class

MCAPI

Code

function lists() {
  $params = array();
  return $this
    ->callServer("lists", $params);
}