Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I add New List to my MailChimp Account By programming in PHP?

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.

http://apidocs.mailchimp.com/api/1.3/#listrelated

like image 988
Ashwin Parmar Avatar asked Sep 25 '13 10:09

Ashwin Parmar


1 Answers

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.

like image 168
Samir Avatar answered Oct 09 '22 01:10

Samir