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
2
votes
1 answer

Mailchimp API 3.0. Need to retrieve a specific template HTML

Am updating an the mailchimp API version form 1.2 -> 3.0 I am trying to retrieve a template HTML file. But there are no methods to do this. I could do this in ver 1.3 and…
2
votes
1 answer

Mailchimp API 3.0 Batch subscribe - Mailchimp3 PY

I am new to Mailchimp api. I have this csv file which has list of subscribers, that needs to be bulk exported to mailchimp. I initially thought of iterating each as json object in for loop and make apic calls, but that does not seem to work. Then on…
jdag
  • 149
  • 3
  • 11
2
votes
4 answers

How filter an http response with MailChimp API V3?

How filter a http response with MailChimp API V3 ? I'm working in NodeJS. I'm trying to filter the response of my "GET" request in MailChimp API. ​ Here my snippet.js : ​ var getList ="https://us18.api.mailchimp.com/3.0/lists/6b3d443365/members" …
Webwoman
  • 10,196
  • 12
  • 43
  • 87
2
votes
2 answers

Mailchimp API with NodeJS - add a member to list returns me "Error: getaddrinfo ENOTFOUND"

I'm working with Mailchimp API in NodeJS and fail to add a member to a list. ​ Here my snippet.js var username = "&&"; var password = "&&-us&&"; var auth = "Basic " + new Buffer(username + ":" + password).toString("base64"); var url =…
Webwoman
  • 10,196
  • 12
  • 43
  • 87
2
votes
0 answers

Send Transactional Mail using mailchimp

I am developing web application using Laravel. In this application I have to send email to the user. Now I want to send those emails using MailChimp. Can anyone guide me how can I send one to one email using MailChimp in Laravel. I am using below…
Adarsh Bhatt
  • 548
  • 1
  • 9
  • 30
2
votes
0 answers

Error retrieving MailChimp datacenter string

I have a problem solving this issue. Following the steps in the documentation here https://developer.mailchimp.com/documentation/mailchimp/guides/how-to-use-oauth2/), I made through 6 out of 7 steps. The last being making a request to metadata uri…
Paul Tofunmi
  • 435
  • 4
  • 15
2
votes
1 answer

MailChimp API Responds 404 in V3.0 PHP Curl

I am using the following code to initiate a member add request to a list in MailChimp.
humbleiam
  • 969
  • 2
  • 12
  • 34
2
votes
0 answers

Mailchimp api not sending goodbye email -with https://github.com/drewm/mailchimp-api

when unsubscribing an user I want de default Mailchimp goodbye email to be send. I'm using the following code $mailchimp = new MailChimp($apiKey); $md5 = md5($_POST['email']); $result = $mailchimp->put("lists/$listId/members/$md5", [ 'status' …
2
votes
1 answer

Mailchimp playground not showing campaigns inside campaign-folder

I have a mailchimp campaign folder Production with 5 campaigns inside If I call campaign-folders API via playground, it turns out that the campaign count is 5 so all good Now if I call the campaigns sub-resource via playground, it returned only 3…
Theo
  • 1,932
  • 4
  • 17
  • 40
2
votes
0 answers

OAuth2 with Node, Express, and Request

I've been attempting to establish a simple Oauth2 flow using Node, Express, and Request, but I keep running into issues at the token request stage. In my specific example, I'm running an Oauth2 with MailChimp, but the problem persists with any…
klinore
  • 2,589
  • 4
  • 19
  • 21
2
votes
1 answer

Mailchimp api: retrieving poll results

Is there a way to get the members to a certain response of poll without the need to create segments? I am sending mails and have a poll included (basically participating at an event). Now I would like to easily collect the respondents for an event…
Kurt Ludikovsky
  • 682
  • 1
  • 6
  • 21
2
votes
1 answer

MailChimp API call with OAuth 2 token

I am unable to call Mailchimps API 3.0 endpoints such as /lists using OAuth 2 tokens. I already have the token and have the endpoint from the /metadata call however, when I attempt to access /lists using the below //Get lists $client = new…
Alex Merz
  • 73
  • 7
2
votes
0 answers

Java - unable to find valid certification path to requested target

I am trying to access Mailchimp API in Java with a library (https://github.com/alexanderwe/bananaj). I am trying to authenticate and am getting the error: sunsecurityprovidercertpathSunCertPathBuilderException unable to find valid certification path…
Jon
  • 8,205
  • 25
  • 87
  • 146
2
votes
0 answers

Mailchimp API upload to File Manager Files

I have a form that updates the content of the campaign, 1 image and 1 text area. The content section for text works fine, as for the image I am thinking to upload the image to MailChimp then use the response URL of the image they send back to…
aud
  • 21
  • 3
2
votes
1 answer

MailChimp "Your advanced segment is empty"

I'm attempting to send to a list using the MailChimp API, but when calling campaigns/{campaign_id}/actions/send I receive the response Your campaign is not ready to send. However, if login to MailChimp, I can see the message is clearly ready to…
timstermatic
  • 1,710
  • 14
  • 32