How to create a list in Mailchimp, via API?

Asked

Viewed 856 times

-1

I want to communicate my site with Mailchimp automatically.

  • try to give more details

  • I want to create a list in Mailchimp through my website. When an administrator launches an event on the site, a list will be created in Mailchimp for this event automatically. This is possible?

  • Did you ever study the API? What programming language are you working on?

  • I am studying the API. My code is in PHP. the current API is 2.0 and I have not found any method for this communication. In 1.3 there is a method that descriptively is what I need, but when I communicate the return is that there is no method in the API anymore. http://apidocs.mailchimp.com/partnerapi/1.3/createlist.func.php Return: Method createList is not Exported by this server

1 answer

1


I recommend doing as I did. I exported my list directly through the database, using the Phpmyadmin option to export as . CSV and Mailchimp recognized the fields at the time of import. Very simple.

Then you can work with the Mailchimp capture forms and manage this list always there.

  • But this way I have to do the import manually. I need an automatic communication. Whereas I already have CSV on my server, how do I import it into Mailchimp?

  • But do you intend to continue capturing emails with your own system? Don’t you find it more practical to use Mailchimp forms? For this way you would only do this manual import once

  • If you really need to use the API, the page with the subscription method is this: link. You have tested or are unable to use the API correctly?

  • I haven’t used this method yet, but from what I understand it adds emails to a list and I need to create a list. I’m managing to consume the other methods, but from what I understand from the API I need something like this: createList, and it’s this method that I can’t consume or find anything like it in API 2.0.

  • I understand what you want. I really haven’t found this same method in API 2.0 either. But you can try using that. In case you create a general list there in Mailchimp and add tracings to it, in practice it works as several sublists.

  • Thank you very much, it worked perfectly.

Show 1 more comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.