Reputation: 3045
I have mailchimp account, I would like to add new list to my mailchimp account using PHP Library for MailChimp.
I have coded the following for add new Group to the given list.
$mailChimp = new MCAPI($api_key);
$mailChimp->listInterestGroupAdd($mylistId, $group_name);
above code is use for Add new Group into the existing List.
Can I add New List, what is the method available to add new List? Can I use like this?
$mailchimp->listAdd($listname);
Here is the documentation of Mailchimp API v1.3 and all the List related functions But I have not get any method which will allow us to add new List.
Upvotes: 5
Views: 3193
Reputation: 892
I think this can not be done using the API.
You can make list as that you wanted in web-app and also check the group to structure the list data.
Upvotes: 2
Reputation: 735
It looks like the MailChimp v1.3 API is deprecated. You should use the newer v2.0 version. I checked the API Documentation. I couldn't find the function that you were looking for.
Upvotes: 2