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

Mailchimp API v3 create list REST Client Ruby

I'm trying to create a Mailchimp list using Mailchimps API (v3) and the REST Client gem. I've got this working correctly for retrieving list names and ids. However, I'm getting a 401 Unauthorized - API Key Missing response for the creation of a…
0
votes
1 answer

Making an Ajax to push email to MailChimp list but wrong url

Sorry for my bad english and i am newbie in Ajax. I try to created an Ajax to push email to MailChimp list when click button subcribe but i found that the url in my Ajax was wrong. Here the details: My Controller: public class…
0
votes
1 answer

How to change the default return amount - MailChimp API Json

I am having trouble. Trouble which i am sure is but a moments thought to resolve for our resident experts but, i must learn... I am returning lists and as I understand it the default return is 25. I have a total of 93. Below is what i am using…
Will
  • 228
  • 1
  • 2
  • 15
0
votes
3 answers

Explain a MailChimp API error message: The resource 'Campaign_Collection' could not be found

I'm upgrading us to the new MailChimp v3 API. FWIW, we're using DrewM's PHP library. When I try to create a new campaign, I get this cryptic error message from MailChimp: Array ( [type] =>…
haz
  • 1,549
  • 15
  • 20
0
votes
1 answer

Custom HTML option not working in Mailchimp with a href intent

Mailchimp has a feature that allows you to enter custom HTML to a template. The custom HTML I am adding is an a href link that when clicked opens a chat with a specific user on Whatsapp. Example of code below:
0
votes
1 answer

Laravel + Guzzle + MailChimp - 400 Bad Request

I get a 400 Bad Request when I do the Guzzle request, its the first time using Laravel, Guzzle and Mailchimp so I'm close to bite my fingers off. I don't understand what I'm doing wrong on this one. Can somebody help me? $mailchimp = new…
Bruno Teixeira
  • 565
  • 4
  • 11
  • 25
0
votes
0 answers

Very simple Mailchimp API request example

I am newbie in Mailchimp API. So, I'd like to export my customers email from CRM to Mailchimp. It requires HTTP request (Json available). What should I use for HTTP request? I need very simple example.
0
votes
1 answer

Empty MailChimp list members API response - works on API playground

Having a bit of a weird issue with a script that's previously been running for a couple of months that searches a MailChimp list for users that are subscribed but whose accounts haven't been updated in over 2 weeks (we're running nightly…
Joe Birkin
  • 90
  • 2
  • 8
0
votes
1 answer

Invalid Resource Mailchimp API

Using to a CURL script to add a new entry to a Mailchimp mailing list using their API but get an invalid resource error. I can see the three fields in the mailing list namely EMAIL, FNAME & LNAME so cannot see why there would be a validation error.…
Thomas K
  • 55
  • 1
  • 10
0
votes
0 answers

MailChimp send email API not working

I am using the below code to send email with MailChimp API key. But it returns the below error Curl error: Couldn't resolve host 'us14.sts.mailchimp.com' Here is the code that I am using, $apikey = '*********-us14'; $to_emails =…
dev87
  • 154
  • 1
  • 9
0
votes
1 answer

Mailchimp API returning a large gzip object when using node-fetch rather than json

I am trying to return a list of changed members from the mailchimp API, which returns the following (correct) json if I use curl/Postman: { "members": [ { "id": "187fhdy650b10e8d43552b6c3672368212", "email_address":…
MDalt
  • 1,681
  • 2
  • 24
  • 46
0
votes
0 answers

Can't download MailChimp API v3 batch response

After executing a MailChimp API v3 batch request, it returns a URL to a .tar.gz file with the response. When copy/paste the URL into the browser's address field, the file get's downloaded instantly. But, when trying to download this file via PHP…
Sommereder
  • 904
  • 4
  • 10
  • 32
0
votes
1 answer

How to subscribe many members at one request using MailChimp.Net - A Mail Chimp 3.0 Wrapper

Here they published the https://github.com/brandonseydel/MailChimp.Net api 3.0, it is live now. But they didn't say anything about how to use batch to upload many members in one request. I have searched in stackoverflow and also google, they either…
Pengzhi Zhou
  • 481
  • 1
  • 6
  • 24
0
votes
1 answer

Setting schedule_time in mailchimp 3.0 causes error

Here's how I do it: $debug = true; $auth = base64_encode( 'user:'. APIKEY ); $data = array( 'schedule_time' => date('Y-m-d H:i:s',strtotime("+1 hour")), 'timewarp' => false ); $json_data = json_encode($data); $ch =…
loQ
  • 2,147
  • 18
  • 21
0
votes
1 answer

MailChimp API 3.0 xhr subscribe 501 error

I am trying to subscribe users to my mailchimp list using this snippet: function subscribeUser(name, email) { var xhr = new XMLHttpRequest(); var endpoint = 'https://.api.mailchimp.com/3.0/lists//members/'; var data = {}; …
whizzzkid
  • 1,174
  • 12
  • 30