Questions tagged [mailchimp-api-v3.0]

MailChimp API v3.0 is the third major version of MailChimp API, which allows you to sync your database with MailChimp for better list and campaign management. Use this tag for questions about how to use the API or integrating the API with a specific programming language. Include the language tags (C#, PHP, Python, etc) if you're integrating with any of those languages.

Official Developer Site: Link

573 questions
78
votes
3 answers

Create a basic MailChimp signup form using their API

I'm new to MailChimp and need some help. With their basic newsletter signup form... you simply embed some prepackaged HTML into your page. However the problem with this is that clicking on submit redirects to a MailChimp page. (I don't want to…
Sparky
  • 98,165
  • 25
  • 199
  • 285
68
votes
6 answers

Adding subscribers to a list using Mailchimp's API v3

I'm trying to add users to a list I've created in Mailchimp but I can't find any code examples anywhere. I've tried figuring out how to use the API but I'm very much a "Look at an example and learn" kind of person. I've tried using version 2 of the…
VenomRush
  • 1,622
  • 3
  • 15
  • 25
29
votes
4 answers

MailChimp resubscribe a deleted member causes the API to return a 400 bad request

I've encountered a problem on MailChimp v3 API where it responds with a status 400 when I try to resubcribe a member. Here's the steps to reproduce the problem: Subscribe a member to a list then delete that member. Resubscribe using the API through…
JohnnyQ
  • 4,839
  • 6
  • 47
  • 65
26
votes
7 answers

How to add "Tags" to mailchimp subscriber via the api

Looking to add tags to my mailing list members via the api. But I don't see where to pass in tags in the documentation. Can someone point to an example of how to update the tags associated with a member via the api?
teamteama
  • 281
  • 1
  • 3
  • 6
21
votes
3 answers

Add to interest group using Mailchimp API v3

I'm using this MailChimp api v3 wrapper https://github.com/drewm/mailchimp-api/tree/api-v3 Using the example I can add an email to my list but cannot add it to one of my interest groups. This is the example code: $MailChimp = new…
user3029992
  • 221
  • 1
  • 2
  • 5
18
votes
9 answers

MailChimp API GDPR Fields

I have a newsletter form with name & email fields, which upon submitting gets sent to /api.mailchimp.com/3.0/lists/####/members using the MailChimp API. From what I understand, the new GDPR fields that MailChimp have created don't seem to have an…
Alexander Holsgrove
  • 1,795
  • 3
  • 25
  • 54
17
votes
7 answers

Can you get a MailChimp interest group ID without using the API?

With the MailChimp API, to add a member to a list with a specific interest group, you need both that list's ID and the interest group's ID. To get both those IDs, you can either query the API for them, or in the case of the list ID you can find it…
Tim Malone
  • 3,364
  • 5
  • 37
  • 50
16
votes
8 answers

MailChimp API PHP - Add to Interest Group

I'm currently using the MailChimp API for PHP, version 1.3.1 (http://apidocs.mailchimp.com/api/downloads/#php) I've set up a list in MailChimp, and would like to dynamically add: Subscribers to the list (done:…
Joe
  • 15,669
  • 4
  • 48
  • 83
16
votes
6 answers

Get all members from the mailing list using MailChimp API 3.0

http://kb.mailchimp.com/api/resources/lists/members/lists-members-collection Using this resource we can obtain only first 10 members. How to get all?
graceman9
  • 608
  • 2
  • 8
  • 20
15
votes
1 answer

MailChimp API 3.0: Status 403 "User does not have access to the requested operation" when trying to create a list

For some time now my API client fails to create a list via API according to the reference: https://developer.mailchimp.com/documentation/mailchimp/reference/lists/ Also, the example in the Getting Started documentation fails with the same…
Gerald
  • 694
  • 7
  • 19
13
votes
3 answers

Change MailChimp's success/error message

I can't find this anywhere. Can anyone who's familiar with MailChimp advise? I've embed my form/input and there's some empty div's (below) which have error/success messages injected.
user1406440
  • 1,329
  • 2
  • 24
  • 59
13
votes
4 answers

Resubscribe a user to a MailChimp list after unsubscribe

My site allows users to subscribe to MailChimp lists using the API via Drupal MailChimp module. But if a user unsubscribes by following the link in the email, and subsequently decides to re-subscribe by visiting my website and checking the…
Hugh Wormington
  • 305
  • 1
  • 2
  • 10
13
votes
6 answers

How to create list member with ADDRESS using Mailchimp API v3

The ADDRESS is a Merge Field but the documentation (http://developer.mailchimp.com/documentation/mailchimp/reference/lists/members/) is not clear on how to pass it to the API, since it has sub fields for street, zip, city etc. Does anybody have an…
Daniel Goetsch
  • 131
  • 1
  • 4
13
votes
1 answer

Updating a member's group interests using MailChimp API V3

I am running the following code (I've hidden ID's) to add/update a subscriber's interest groups in a MailChimp list: $mailchimp->patch('lists/1234567/members/' . md5('test@test.com'), [ 'status' => 'subscribed', 'merge_fields' => array( …
Ben Sinclair
  • 3,896
  • 7
  • 54
  • 94
11
votes
5 answers

Java Wrapper for Mailchimp API v3.0

I just started working with the Mailchimp API. So far I have configured the open authentication using Node.js and Angular.js. I want to implement an export of customers (First name, Last name and Email) from my app to a Mailchimp list. I want to do…
Ivan Stoyanov
  • 5,412
  • 12
  • 55
  • 71
1
2 3
38 39