function MCAPI::lists in Mailchimp 7
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::lists()
- 5 MCAPI.class.php \MCAPI::lists()
- 6.2 MCAPI.class.php \MCAPI::lists()
- 6 MCAPI.class.php \MCAPI::lists()
Retrieve all of the lists defined for your user account
Related
@example mcapi_lists.php @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 integer web_id The list id used in our web app, allows you to create a link directly to it @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. @returnf integer unsubscribe_count The number of members who have unsubscribed from the given list. @returnf integer cleaned_count The number of members cleaned from the given list. @returnf boolean email_type_option Whether or not the List supports multiple formats for emails or just HTML @returnf string default_from_name Default From Name for campaigns using this list @returnf string default_from_email Default From Email for campaigns using this list @returnf string default_subject Default Subject Line for campaigns using this list @returnf string default_language Default Language for this list's forms
Return value
array list of your Lists and their associated information (see Returned Fields for description)
File
- ./
MCAPI.class.php, line 920
Class
Code
function lists() {
$params = array();
return $this
->callServer("lists", $params);
}