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

Returning Promises from Netlify Function

I am working on a serverless function to be hosted on Netlify to subscribe users to a mailchimp email list. I am getting the following obscure error: lambda response was undefined. check your function code again Here is my function: const handler =…
2
votes
1 answer

MailChimp retrieve large list data

I have a campaign that I want to analyze, and for this I use the MailChimp open-details API call: curl -X GET 'https://.api.mailchimp.com/3.0/reports//open-details?offset=50&count=1000' --user "anystring:APIKEY" However, the…
2
votes
1 answer

CORS policy blocking access to Mailchimp API

I am developing a newsletter pop-up using nuxtJS and vuetify. The process is simple: you enter you email adresse, mailchimp to the rest. I am having an issue with Mailchimp API. When I test the API using postman with the same setup, it works fine…
2
votes
2 answers

How to fix the MailChimp 401 error which appears in hyper terminal from the mail-chimp api? (using JavaScript)

I am trying to make a sign-up form by which when a user enters his first name, second name and email in that form, he will be signed in and I can see his name and email in the audiences section of Mailchimp. After finishing up my code (almost), I…
user16548463
2
votes
2 answers

How to get total members with certain tags on mailchimp API v3.0?

Is there a way to return the total members in a specific list that have a certain tag? I'm trying to do this without using custom logic outside of the API call. I can get the member count of a certain list by running:…
2
votes
0 answers

Mailchimp API send campaign

I have written a custom Drupal 8 module that will send article notifications to our Mailchimp subscribers. Problem Currently, the module loops over each of the article 'tags' and sends out a separate campaign for each. Consequently, if someone is…
Darcy
  • 575
  • 2
  • 8
  • 21
2
votes
0 answers

How to get html content of email template from Mailchimp then change it and send?

I am already following above one. I will create one template with the variables that can be replaced. Like First Name. Last Name. So is there any API available to change those email templates before sending emails? In Mailchimp we are NOT able get…
Mighty
  • 317
  • 1
  • 2
  • 11
2
votes
0 answers

Mailchimp Dynamic Content: add customized link in subscribe email

We want to start a service with Mailchimp where every subscriber will get a customized link in the email she receives. The Subscription Form will be on a wordpress website (not my decision). There is a pool of thousand of links with a unique…
yunzen
  • 32,854
  • 11
  • 73
  • 106
2
votes
1 answer

Adding subscribers to a list using Mailchimp's API

I just started this all API thing- I'm trying to upload data to Mailchimp using their API. I'm not getting any error while running my server, but the data won't get updated (I do get the values from the html form and they get displayed in the hyper…
Lidor M
  • 21
  • 1
  • 2
2
votes
3 answers

Mailchimp API adding tags to new and existing members

I am trying to do a simple JSON call to add a tag to a new or existing subscriber. It adds the subscriber's first name, last name, and email address, but not the tag. I'm not sure what I am doing wrong. Here is what I have: public function apiUrl()…
eberswine
  • 1,224
  • 3
  • 20
  • 39
2
votes
1 answer

Does Mailchimp have a send API is Automation the way to go?

I was about to start developing my companies website which is currently in research phase. I was researching with the MailChimp API (https://developer.mailchimp.com/documentation/mailchimp/reference/overview/) but did not find the API for using a…
2
votes
1 answer

Mailchimp authentication showing Access-Control-Allow-Origin

When integrating with mailchimp, I do authentication after I get access_token then I also send a get request to get metadata and faces a problem. After synching user name and password I get access_token and I got error on this code: var AccessToken…
santosh adhikari
  • 315
  • 7
  • 15
2
votes
1 answer

Batch subscribe users with Mailchimp API

As per the API documentation here https://developer.mailchimp.com/documentation/mailchimp/reference/lists/#create-post_lists_list_id, the API makes it possible to batch subscribe several users, by sending a JSON object containing a members field.…
SCO
  • 1,832
  • 1
  • 24
  • 45
2
votes
2 answers

Adding Tags to MailChimp Member object

I'm using MailChimp.Net.V3 (version 4 of this package) by Brandon Seydel. I'm trying to add a Tag a Member using the following code using MailChimp.Net; private async Task MaintainTagsAsync() { string apikey = ""; string listid =…
2
votes
1 answer

MailChimp Api 3.0 interest group

I can't get my group , in create the campaigns var campaign = Manager.Campaigns.AddAsync(new Campaign { Settings = _campaignSettings, Recipients = new Recipient { …
Yang
  • 63
  • 8