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
1
vote
1 answer

How to pull data from multiple Mailchimp endpoints?

The code below pulls data from the Mailchimp API Reports endpoint and adding it to Sheets. I would like to add some more data from other endpoints (like fields from the "List/Audience" endpoint: member_count, total_contacts i.e.) but don't have a…
Sandro
  • 467
  • 1
  • 5
  • 15
1
vote
1 answer

How do you use an Oauth callback between React and Express?

I'm trying to integrate MailChimp's API into my React App which will allow users to authorize their MailChimp accounts for use in my app. I haven't found a tutorial on it, so I'm following this tutorial which uses only express:…
Noble Polygon
  • 796
  • 11
  • 36
1
vote
0 answers

Basic auth seems don't work on with axios and mailchimp api v3

I'm tryng to authenticate with mailchimp api in order to perform some api calls. I'm using Axios and I try some different codes but i'm still having the same error on authentication (i intercept the catch but i not receive a real error code) I'm…
1
vote
1 answer

Your Campaign is not ready to send in mailchimp api v3 using C#

I created code to send campaign immediately by consuming mailchimp api v3.0 using C# console. When i tried in free account everything goes well, but when i upgrade my account in premium i got this problem (only add 2 members). My scenario: create…
aminvincent
  • 553
  • 1
  • 12
  • 43
1
vote
1 answer

How to send instant email with mail chimp in Swift?

I am trying to find MailChimp documentation for implementing iOS app that sends instant email to user just like SendGrid. But I can't details about send instant email using email templates via MailChimp even I don't know was it possible or not. How…
user11035148
1
vote
1 answer

Error: The requested resource could not be found

I am trying to implement mailchimp v3. And for that this is the code I am using to get this work. But I don't know what is /lists/id/members and from where I can get that. And thus I am getting this error Error: The requested resource could not be…
Profer
  • 553
  • 8
  • 40
  • 81
1
vote
2 answers

How to send a post request to mailchimp on express through react

I am trying to send a new membership from a form in react to my express server to add to the mailchimp memberlist I am getting a cors error and I don't know if I am missing any proxys. I want a user to be able to sign up in react and then it sends…
1
vote
2 answers

How do I search Mailchimp for all members with a specific command using their API

Some of my members share a specific tag I have assigned them - ie: tag123 What api command can I use to retrieve all members who have this tag assigned to them?
Paul Preibisch
  • 4,115
  • 2
  • 27
  • 32
1
vote
1 answer

How to get unsubscribe URL from Mailchimp list ID API

I'm struggling to get the unsubscribe URL from the Mailchimp API. I've managed to find the subscribe URL by accessing get("lists/{$list_id}/signup-forms"); which returns the following json. However, there's no unsubscribe URL displaying and I can't…
Shaun
  • 757
  • 1
  • 8
  • 36
1
vote
1 answer

update mailchimp email subscription is not working

Below is my code to create or update subscription in Mailchimp. function mailchimp_ajax_subscription() { $data = isset( $_POST['formData'] ) ? $_POST['formData'] : array(); ob_start(); if(count($data) > 0) { $api_key =…
Prashant Patil
  • 2,463
  • 1
  • 15
  • 33
1
vote
0 answers

Mailchimp API - batch upload

I'm trying to import a list of 879 users (in batch) into a Mailchimp list. The library I'm using is: https://github.com/pacely/mailchimp-api-v3. I've created a Laravel console command to do this. The code is:
nielsv
  • 6,540
  • 35
  • 111
  • 215
1
vote
0 answers

Mailchimp PUT always returns a false error so is impossible to check for real errors

I have coded some PHP scripts to create and send a newsletter using MailChimp API. Below the steps 1) First of all, I update a template with the products I want to include in the newsletter 2)I create a campaign 3)I attach the template content to…
Luca
  • 41
  • 4
1
vote
0 answers

Dynamic "merge_fields" for Mailchimp

For now I have the only predefined |MERGE| tag called "POSTCODE" in my Mailchimp list settings. For the long time users were added to this list with only this field filled, but now the task is to transform this single "POSTCODE" text field into…
Valerii Kulykov
  • 181
  • 1
  • 1
  • 5
1
vote
0 answers

Send Mailchimp campaign to a specific email address via API v3

I have got the following code but I'm getting a resource not found error. Has anyone successfully sent an MC campaign to a single user? $apiKey = 'APIKEYHERE'; $campaignId = 'CAMPAIGNIDHERE'; $memberId = md5(strtolower("test@example.com")); …
PavKR
  • 1,591
  • 2
  • 11
  • 26
1
vote
0 answers

Mailchimp Batch Call returning 0 Total Operations

I've been banging my head all day to get batches to work when subscribing contacts to a specific list in Mailchimp. I get the following response when I attempt the call, which says my total_operations is 0. Any idea's on where to start to find out…
Luke
  • 11
  • 2