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

Checking multiple lists for one email address in MailChimp API 3.0

In MailChimp API 2.0 there was a single command, helper/lists-for-email, that would return all of my lists that a particular email address was subscribed to. https://apidocs.mailchimp.com/api/2.0/helper/lists-for-email.php I'm having trouble finding…
gcdev
  • 1,406
  • 3
  • 17
  • 30
2
votes
1 answer

RestSharp / MailChimp 'API key missing' error

When I post a campaign on Mailchimp using RestSharp, it tells me my API key is missing, but when I click "Get Campaign", it successfully shows me all the campaign data. Can anyone tell me where I'm going wrong? Here's my code: public…
2
votes
1 answer

Gibbon/Mailchimp API request to create interests inside interest-groupings

I'm using Gibbon, version 2.2.1 for Mailchimp, and I'd like to be able to create an interest inside an interest group. For instance, I have users who are subscribed to a class. My interest group is "Lessons", and an interest inside that interest…
Doug
  • 1,517
  • 3
  • 18
  • 40
2
votes
1 answer

mailchimp api v.3 can't insert template_id on post campaigns

post campaigns { "type" :"regular", "recipients": { "list_id": "0270xxxcf7" } , "settings": { "subject_line": "Thank you for your reservation", "from_name": "Customer Service", "reply_to":…
Prova Web
  • 21
  • 2
2
votes
0 answers

Subscribe users to a list using MailChimp API v3 and CURL

I am wondering if anyone has worked with MailChimp API to subscribe users to the list. I am wondering how it is done, from the documentation I am trying to accomplish. curl --request POST \ --url 'https://usX.api.mailchimp.com/3.0/lists' \ --user…
IamCavic
  • 368
  • 1
  • 15
2
votes
0 answers

Mailchimp API 3.0 fetch all merge-fields including E-Mail

I am currently building a little PHP script that fetches the merge-fields for a list and then automatically builds a small subscription form for that list. However I am having problems since the only API call I was able to find was:…
Kriesi
  • 141
  • 1
  • 9
2
votes
5 answers

How to get all lists on mailchimp API v3.0?

At this moment one request returns 10 list objects. So how can I get all lists from API v3.0 or is it even possible? I don't see cursor_next or anything like that in the response I got from API. I'm speaking about this endpoint:…
lehtu
  • 868
  • 1
  • 12
  • 27
2
votes
1 answer

Sending email to lists via MailChimp API v3.0?

So it's not possible to create campaigns via MailChimp API v3.0 at this moment. But is it possible to send emails to lists/groups/segments via API v3.0? Or should I use API v2.0 for this functionality? I have seen this one already: MailChimp send…
lehtu
  • 868
  • 1
  • 12
  • 27
2
votes
1 answer

Using Mailchimp V3 API to fetch all user activities

I'm trying to fetch all member activities using the "new" (V3) Mailchimp API. http://string:@.api.mailchimp.com/3.0/lists//members//activity?count=100&offset=0 But I can't seem to receive more than 50 records. Does…
dunyakirkali
  • 369
  • 5
  • 16
2
votes
2 answers

Get HTML/Plain text campaign body using MailChimp API 3.0

I can't find out how to get the body of a campaign in the new v3.0 API of MailChimp. I successfully used the /3.0/campaigns call to get the title, but I can't frigging get the email content!! Even /3.0/campaigns/single_campaign_id gives me all the…
MultiformeIngegno
  • 6,959
  • 15
  • 60
  • 119
1
vote
0 answers

How can I create a new campaign using a Mailchimp template via Python Mailchimp API?

I built an email template via the Mailchimp drag and drop tool. I'm trying to now create a new email campaign using the template as the new campaign content but it doesn't seem to be working. I chatted with Mailchimp support several times and they…
1
vote
0 answers

Express: Mailchimp oauth2 getting token from code returns 400

I'm trying to make a simple oauth2 flow using the documentation from Mailchimp. I keep getting 400 invalid_client. Stuck on what is going wrong and would like some help. index.js: import express from "express"; import querystring from…
1
vote
1 answer

Attempting to add list members to MailChimp list using a plugin within Nuxt3, getting an error stating addListMemberWithHttpInfo is not a function

I'm trying to use the MailChimp Marketing API to add members to one of my MailChimp list's, however, after creating the following plugin within my Vue3/Nuxt3 project: import MailchimpMarketing from…
nokkemded
  • 11
  • 4
1
vote
0 answers

Unable to set correct Email Template for Mailchimp Campaign via Python API

I'm unable to set correct Email template for Mailchimp Campign. I'm picking the Template_ID from the browser URL like: https://xxx.admin.mailchimp.com/email/templates/editor?id=`Template_ID`. Is it correct? campaign_data = dict( …
nishit chittora
  • 974
  • 13
  • 20
1
vote
0 answers

Mailchimp API: how to delete all tags?

Is it possible to delete all tags at once in an existing list via the Mailchimp API? https://mailchimp.com/developer/marketing/api Thx Frederik